Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction") translateModel(BuildingSystems.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 110.7 kB / 16.42 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 189.5 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002071/0.002071, allocations: 289.2 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9308/0.9308, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 99.84 kB / 0.6821 GB, free: 6.926 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.4055, allocations: 86.97 MB / 0.7671 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MassFraction): time 0.1883/0.5938, allocations: 186.8 MB / 0.9495 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007527/0.6014, allocations: 4.575 MB / 0.9539 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000977/0.6024, allocations: 31.81 kB / 0.954 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001234/0.6036, allocations: 425.4 kB / 0.9544 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003412/0.6071, allocations: 1.396 MB / 0.9557 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00208/0.6092, allocations: 0.771 MB / 0.9565 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.3864/0.9957, allocations: 1.953 MB / 0.9584 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001076/0.9968, allocations: 0.6511 MB / 0.959 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003185/1, allocations: 1.111 MB / 0.9601 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001218/1.001, allocations: 0.5856 MB / 0.9607 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001269/1.001, allocations: 63.91 kB / 0.9607 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002462/1.004, allocations: 1.393 MB / 0.9621 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003068/1.004, allocations: 284.8 kB / 0.9624 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004464/1.005, allocations: 414.8 kB / 0.9628 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00202/1.007, allocations: 1.487 MB / 0.9642 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/1.007, allocations: 1.203 kB / 0.9642 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/1.007, allocations: 0.8125 kB / 0.9642 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.197e-05/1.007, allocations: 0 / 0.9642 GB, free: 3.031 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001638/1.008, allocations: 1.095 MB / 0.9653 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/1.008, allocations: 7.969 kB / 0.9653 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001271/1.01, allocations: 209.1 kB / 0.9655 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009467/1.011, allocations: 0.6105 MB / 0.9661 GB, free: 18.08 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.169e-05/1.011, allocations: 41.91 kB / 0.9661 GB, free: 18.08 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.601e-05/1.011, allocations: 56.69 kB / 0.9662 GB, free: 18.08 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009134/1.012, allocations: 0.6182 MB / 0.9668 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/1.012, allocations: 3.594 kB / 0.9668 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.278e-05/1.012, allocations: 19.78 kB / 0.9668 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.657e-05/1.012, allocations: 19.62 kB / 0.9668 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006946/1.012, allocations: 0.4935 MB / 0.9673 GB, free: 18 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002774/1.015, allocations: 2.406 MB / 0.9697 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005193/1.016, allocations: 359.9 kB / 0.97 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002462/1.016, allocations: 211.5 kB / 0.9702 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005531/1.017, allocations: 310.8 kB / 0.9705 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/1.017, allocations: 39.86 kB / 0.9705 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=36): time 2.585e-06/1.017, allocations: 1.125 kB / 0.9705 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=36): time 0.001014/1.018, allocations: 0.5475 MB / 0.9711 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/1.018, allocations: 55.06 kB / 0.9711 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004796/1.018, allocations: 0.5004 MB / 0.9716 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.183e-05/1.018, allocations: 31.27 kB / 0.9717 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/1.018, allocations: 318.4 kB / 0.972 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.826e-05/1.019, allocations: 133.3 kB / 0.9721 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/1.019, allocations: 87.34 kB / 0.9722 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001418/1.019, allocations: 366.5 kB / 0.9725 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002154/1.019, allocations: 150 kB / 0.9727 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002682/1.019, allocations: 259.3 kB / 0.9729 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004675/1.02, allocations: 408.6 kB / 0.9733 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/1.02, allocations: 2.625 kB / 0.9733 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000631/1.02, allocations: 487.4 kB / 0.9738 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/1.02, allocations: 8.844 kB / 0.9738 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/1.02, allocations: 10 kB / 0.9738 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/1.02, allocations: 3.75 kB / 0.9738 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005215/1.021, allocations: 101.7 kB / 0.9739 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003449/1.021, allocations: 0.595 MB / 0.9745 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005491/1.022, allocations: 46.38 kB / 0.9745 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.655e-05/1.022, allocations: 17.5 kB / 0.9745 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003737/1.022, allocations: 332.5 kB / 0.9748 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002527/1.023, allocations: 260.9 kB / 0.9751 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004349/1.023, allocations: 400.5 kB / 0.9755 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.635e-06/1.023, allocations: 3.984 kB / 0.9755 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.000603/1.024, allocations: 488.2 kB / 0.9759 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.674e-06/1.024, allocations: 6.031 kB / 0.9759 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/1.024, allocations: 7.469 kB / 0.976 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.18e-06/1.024, allocations: 3.703 kB / 0.976 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003407/1.024, allocations: 92.22 kB / 0.976 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/1.024, allocations: 8.344 kB / 0.9761 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004482/1.025, allocations: 32.42 kB / 0.9761 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.849e-05/1.025, allocations: 13.09 kB / 0.9761 GB, free: 14.28 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001433/1.025, allocations: 210.3 kB / 0.9763 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.914e-05/1.025, allocations: 59.47 kB / 0.9764 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006544/1.025, allocations: 447.9 kB / 0.9768 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005512/1.026, allocations: 0.6602 MB / 0.9774 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/1.026, allocations: 1.125 kB / 0.9774 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002341/1.026, allocations: 177.9 kB / 0.9776 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.229e-05/1.026, allocations: 11.3 kB / 0.9776 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003406/1.027, allocations: 15.25 kB / 0.9776 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/1.027, allocations: 20.86 kB / 0.9776 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008925/1.028, allocations: 0.5045 MB / 0.9781 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007484/1.028, allocations: 0.7532 MB / 0.9789 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001893/1.029, allocations: 179.3 kB / 0.979 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003301/1.029, allocations: 361 kB / 0.9794 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of Backend: time 4.61e-07/1.029, allocations: 0 / 0.9794 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0021/1.031, allocations: 0.8191 MB / 0.9802 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of SimCode: time 0.00264/1.034, allocations: 1.907 MB / 0.982 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of Templates: time 0.02048/1.054, allocations: 15.63 MB / 0.9973 GB, free: 10.79 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)