Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001369/0.001369, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.346/1.346, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2821/0.2821, allocations: 40 MB / 310.4 MB, free: 9.938 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005527/0.000553, allocations: 20 kB / 378.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1106, allocations: 57.95 MB / 436.8 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity): time 0.2178/0.3284, allocations: 54.68 MB / 491.5 MB, free: 20.56 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01939/0.3479, allocations: 22.88 MB / 0.5023 GB, free: 4.531 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001355/0.3493, allocations: 28.25 kB / 0.5023 GB, free: 4.516 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001582/0.3509, allocations: 465.9 kB / 0.5027 GB, free: 4.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01141/0.3623, allocations: 4.086 MB / 0.5067 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008493/0.3708, allocations: 3.046 MB / 0.5097 GB, free: 488 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002589/0.3734, allocations: 1.318 MB / 0.511 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009694/0.3744, allocations: 0.5547 MB / 0.5115 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01166/0.386, allocations: 6.473 MB / 0.5179 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001453/0.3875, allocations: 0.5077 MB / 0.5184 GB, free: 14.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002082/0.3878, allocations: 42.78 kB / 0.5184 GB, free: 14.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01482/0.4026, allocations: 6.744 MB / 0.525 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003313/0.403, allocations: 196.3 kB / 0.5252 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004833/0.4035, allocations: 209.2 kB / 0.5254 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006936/0.4104, allocations: 3.374 MB / 0.5287 GB, free: 10.01 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4105, allocations: 2.469 kB / 0.5287 GB, free: 10.01 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.4105, allocations: 0 / 0.5287 GB, free: 10.01 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.284e-05/0.4105, allocations: 0 / 0.5287 GB, free: 10.01 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.005388/0.4159, allocations: 1.623 MB / 0.5303 GB, free: 8.684 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.416, allocations: 8.031 kB / 0.5303 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004668/0.4206, allocations: 0.6194 MB / 0.5309 GB, free: 8.055 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.4217, allocations: 0.5976 MB / 0.5314 GB, free: 7.414 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.1e-05/0.4218, allocations: 62 kB / 0.5315 GB, free: 7.352 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.4219, allocations: 72 kB / 0.5316 GB, free: 7.281 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003044/0.4249, allocations: 1.365 MB / 0.5329 GB, free: 5.836 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.4249, allocations: 3.938 kB / 0.5329 GB, free: 5.832 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.672e-05/0.425, allocations: 36 kB / 0.5329 GB, free: 5.797 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.4251, allocations: 20 kB / 0.533 GB, free: 5.777 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003091/0.4282, allocations: 1.247 MB / 0.5342 GB, free: 4.523 MB / 398.1 MB 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.006546/0.4347, allocations: 5.751 MB / 0.5398 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003059/0.4378, allocations: 1.01 MB / 0.5408 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06157/0.4994, allocations: 32.61 MB / 0.5726 GB, free: 8.926 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/0.4995, allocations: 42.5 kB / 0.5727 GB, free: 8.875 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006725/0.5002, allocations: 115.1 kB / 0.5728 GB, free: 8.762 MB / 446.1 MB Notification: Performance of pre-optimization done (n=58): time 2.514e-06/0.5002, allocations: 0 / 0.5728 GB, free: 8.762 MB / 446.1 MB Notification: Performance of matching and sorting (n=58): time 0.005775/0.5059, allocations: 1.878 MB / 0.5746 GB, free: 6.832 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.819e-05/0.5061, allocations: 191.9 kB / 0.5748 GB, free: 6.602 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007747/0.5068, allocations: 0.6646 MB / 0.5754 GB, free: 5.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.734e-05/0.5069, allocations: 37.7 kB / 0.5755 GB, free: 5.887 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002666/0.5072, allocations: 391.9 kB / 0.5759 GB, free: 5.496 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.5073, allocations: 213.1 kB / 0.5761 GB, free: 5.285 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.5074, allocations: 12 kB / 0.5761 GB, free: 5.273 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.5075, allocations: 386.8 kB / 0.5764 GB, free: 4.887 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006449/0.5082, allocations: 277.8 kB / 0.5767 GB, free: 4.613 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007976/0.509, allocations: 0.5296 MB / 0.5772 GB, free: 3.965 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007129/0.5097, allocations: 332.9 kB / 0.5775 GB, free: 3.641 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.5097, allocations: 0 / 0.5775 GB, free: 3.641 MB / 446.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001887/0.5116, allocations: 0.9477 MB / 0.5785 GB, free: 2.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001052/0.5127, allocations: 2.967 MB / 0.5814 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.5127, allocations: 8 kB / 0.5814 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005954/0.5187, allocations: 0.6961 MB / 0.5821 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007432/0.5194, allocations: 195.7 kB / 0.5822 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008517/0.5203, allocations: 1.171 MB / 0.5834 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007639/0.5211, allocations: 80.02 kB / 0.5835 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.138e-05/0.5212, allocations: 43.97 kB / 0.5835 GB, free: 13.23 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.916e-06/0.5212, allocations: 4 kB / 0.5835 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001793/0.523, allocations: 0.8033 MB / 0.5843 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.523, allocations: 8 kB / 0.5843 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.523, allocations: 12.88 kB / 0.5843 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007786/0.5238, allocations: 231.9 kB / 0.5845 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/0.5239, allocations: 15.94 kB / 0.5845 GB, free: 12.17 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006862/0.5245, allocations: 83.78 kB / 0.5846 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.218e-05/0.5246, allocations: 43.98 kB / 0.5847 GB, free: 12.04 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 8 (boundary_fixed1.medium.phase,boundary_fixed.medium.phase,massFlowRate1.medium.phase,massFlowRate2.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase,simpleGenericOrifice1.state_b.phase,simpleGenericOrifice1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004064/0.525, allocations: 304.8 kB / 0.585 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001719/0.5252, allocations: 83.31 kB / 0.585 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004584/0.5298, allocations: 3.723 MB / 0.5887 GB, free: 7.91 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.27e-05/0.5299, allocations: 55.92 kB / 0.5887 GB, free: 7.855 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.5299, allocations: 3.953 kB / 0.5887 GB, free: 7.852 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.5299, allocations: 3.984 kB / 0.5887 GB, free: 7.848 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/0.5319, allocations: 1.772 MB / 0.5905 GB, free: 6.031 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.532, allocations: 0 / 0.5905 GB, free: 6.031 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005911/0.5326, allocations: 163.8 kB / 0.5906 GB, free: 5.871 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002383/0.535, allocations: 0.8934 MB / 0.5915 GB, free: 4.969 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.05e-05/0.535, allocations: 16 kB / 0.5915 GB, free: 4.953 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/0.5362, allocations: 1.565 MB / 0.593 GB, free: 3.34 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5362, allocations: 0 / 0.593 GB, free: 3.34 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002852/0.539, allocations: 2.183 MB / 0.5952 GB, free: 1.094 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007271/0.5398, allocations: 457.8 kB / 0.5956 GB, free: 0.625 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002191/0.54, allocations: 12 kB / 0.5956 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007373/0.5407, allocations: 71.95 kB / 0.5957 GB, free: 0.543 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.5409, allocations: 59.91 kB / 0.5957 GB, free: 496 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.619e-05/0.541, allocations: 27.94 kB / 0.5958 GB, free: 468 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001044/0.542, allocations: 0.7633 MB / 0.5965 GB, free: 15.69 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.542, allocations: 3.938 kB / 0.5965 GB, free: 15.68 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00408/0.5461, allocations: 1.253 MB / 0.5977 GB, free: 14.43 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 28 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,massFlowRate2.medium.phase,boundary_fixed1.medium.phase,$cse13.phase,$cse13.region,$cse17.phase,$cse17.region,$cse19.region3boundary,$cse20.region3boundary,$cse21.phase,$cse21.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse27.phase,$cse27.region,massFlowRate1.medium.phase,boundary_fixed.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004775/0.5509, allocations: 1.104 MB / 0.5988 GB, free: 13.32 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00332/0.5543, allocations: 1.528 MB / 0.6003 GB, free: 11.79 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.395e-06/0.5543, allocations: 4 kB / 0.6003 GB, free: 11.79 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001275/0.5556, allocations: 0.8804 MB / 0.6012 GB, free: 10.91 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002554/0.5581, allocations: 493.6 kB / 0.6016 GB, free: 10.43 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004037/0.5622, allocations: 3.492 MB / 0.6051 GB, free: 6.902 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007031/0.5629, allocations: 1.288 MB / 0.6063 GB, free: 5.586 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001745/0.5647, allocations: 1.236 MB / 0.6075 GB, free: 4.352 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/0.5649, allocations: 87.41 kB / 0.6076 GB, free: 4.266 MB / 478.1 MB Notification: Performance of SimCode: time 7.91e-07/0.5649, allocations: 0 / 0.6076 GB, free: 4.266 MB / 478.1 MB Notification: Performance of Templates: time 0.2218/0.7867, allocations: 47.92 MB / 0.6544 GB, free: 145.4 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.pipe 2>&1) Environment - environmentSimulation: