Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.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.TestFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009204/0.009204, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.831/1.831, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.447/0.447, allocations: 39.99 MB / 310.7 MB, free: 9.863 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.0006916/0.0006915, allocations: 20 kB / 379.5 MB, free: 12.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.174, allocations: 57.96 MB / 437.4 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate): time 0.3737/0.5477, allocations: 42.65 MB / 480.1 MB, free: 27.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01876/0.5665, allocations: 16.45 MB / 496.5 MB, free: 17.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008473/0.5675, allocations: 20.94 kB / 496.5 MB, free: 17.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000995/0.5685, allocations: 254 kB / 496.8 MB, free: 17.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01457/0.583, allocations: 3.733 MB / 0.4888 GB, free: 15.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006902/0.59, allocations: 1.793 MB / 0.4905 GB, free: 14.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002254/0.5922, allocations: 1.555 MB / 0.4921 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005773/0.5928, allocations: 292.6 kB / 0.4923 GB, free: 13.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/0.5939, allocations: 492.8 kB / 0.4928 GB, free: 13.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005548/0.5945, allocations: 374.8 kB / 0.4932 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.539e-05/0.5945, allocations: 24.56 kB / 0.4932 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01987/0.6144, allocations: 7.305 MB / 0.5003 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000361/0.6148, allocations: 110 kB / 0.5004 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007609/0.6156, allocations: 289.1 kB / 0.5007 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02074/0.6363, allocations: 4.616 MB / 0.5052 GB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.6364, allocations: 3.938 kB / 0.5052 GB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.488e-06/0.6364, allocations: 0 / 0.5052 GB, free: 10.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.89e-05/0.6365, allocations: 0 / 0.5052 GB, free: 10.07 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.008507/0.645, allocations: 1.258 MB / 0.5064 GB, free: 9.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.054e-05/0.6451, allocations: 13.56 kB / 0.5065 GB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002881/0.648, allocations: 284.8 kB / 0.5067 GB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.6493, allocations: 408.7 kB / 0.5071 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.69e-05/0.6494, allocations: 31.44 kB / 0.5071 GB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.6495, allocations: 37.56 kB / 0.5072 GB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002199/0.6517, allocations: 0.7001 MB / 0.5079 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/0.6518, allocations: 5.031 kB / 0.5079 GB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.069e-05/0.6518, allocations: 22.03 kB / 0.5079 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.6519, allocations: 9.875 kB / 0.5079 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002061/0.6539, allocations: 0.6146 MB / 0.5085 GB, free: 7.922 MB / 382.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.005663/0.6596, allocations: 2.997 MB / 0.5114 GB, free: 5.191 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/0.6614, allocations: 0.4904 MB / 0.5119 GB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005504/0.662, allocations: 195.4 kB / 0.5121 GB, free: 4.852 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09555/0.7575, allocations: 40.31 MB / 0.5515 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.822e-05/0.7577, allocations: 42.5 kB / 0.5515 GB, free: 14.63 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 1.224e-05/0.7577, allocations: 0 / 0.5515 GB, free: 14.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=30): time 0.003981/0.7617, allocations: 1.002 MB / 0.5525 GB, free: 13.6 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.602e-05/0.7618, allocations: 110.8 kB / 0.5526 GB, free: 13.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006663/0.7625, allocations: 413.8 kB / 0.553 GB, free: 13.05 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.082e-05/0.7625, allocations: 33.7 kB / 0.553 GB, free: 13.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002243/0.7628, allocations: 240 kB / 0.5532 GB, free: 12.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.7629, allocations: 114.5 kB / 0.5533 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.746e-05/0.763, allocations: 37.7 kB / 0.5534 GB, free: 12.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.7632, allocations: 350.8 kB / 0.5537 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003851/0.7636, allocations: 151.8 kB / 0.5539 GB, free: 12.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005419/0.7641, allocations: 275.1 kB / 0.5541 GB, free: 11.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000998/0.7652, allocations: 420.5 kB / 0.5545 GB, free: 11.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.7652, allocations: 0 / 0.5545 GB, free: 11.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001196/0.7664, allocations: 0.5133 MB / 0.555 GB, free: 10.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000164/0.7666, allocations: 189.9 kB / 0.5552 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.7666, allocations: 0 / 0.5552 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003426/0.77, allocations: 376.4 kB / 0.5556 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003516/0.7704, allocations: 87.89 kB / 0.5556 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006539/0.771, allocations: 0.6129 MB / 0.5562 GB, free: 9.488 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005395/0.7716, allocations: 67.5 kB / 0.5563 GB, free: 9.422 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.976e-05/0.7716, allocations: 23.98 kB / 0.5563 GB, free: 9.398 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.7717, allocations: 8.062 kB / 0.5563 GB, free: 9.391 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009519/0.7726, allocations: 408.5 kB / 0.5567 GB, free: 8.992 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.7726, allocations: 4 kB / 0.5567 GB, free: 8.988 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.7727, allocations: 7.938 kB / 0.5567 GB, free: 8.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003963/0.7731, allocations: 112.2 kB / 0.5568 GB, free: 8.871 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.678e-05/0.7731, allocations: 8 kB / 0.5569 GB, free: 8.863 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004528/0.7736, allocations: 67.56 kB / 0.5569 GB, free: 8.797 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.926e-05/0.7736, allocations: 23.98 kB / 0.5569 GB, free: 8.773 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 4 (boundary_fixed.medium.phase,massFlowRate1.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004806/0.7741, allocations: 246.2 kB / 0.5572 GB, free: 8.523 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.7742, allocations: 51.42 kB / 0.5572 GB, free: 8.473 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003116/0.7773, allocations: 2.047 MB / 0.5592 GB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.852e-05/0.7774, allocations: 19.97 kB / 0.5592 GB, free: 6.402 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.7774, allocations: 8.172 kB / 0.5593 GB, free: 6.395 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.7774, allocations: 7.938 kB / 0.5593 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/0.7788, allocations: 1.003 MB / 0.5602 GB, free: 5.336 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/0.7788, allocations: 0 / 0.5602 GB, free: 5.336 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002888/0.7791, allocations: 75.94 kB / 0.5603 GB, free: 5.262 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001685/0.7808, allocations: 0.6428 MB / 0.5609 GB, free: 4.613 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.7e-05/0.7809, allocations: 8 kB / 0.5609 GB, free: 4.605 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00088/0.7818, allocations: 1.014 MB / 0.5619 GB, free: 3.566 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.7818, allocations: 0 / 0.5619 GB, free: 3.566 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001819/0.7836, allocations: 1.348 MB / 0.5633 GB, free: 2.191 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005246/0.7841, allocations: 259.4 kB / 0.5635 GB, free: 1.918 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.875e-05/0.7842, allocations: 11.98 kB / 0.5635 GB, free: 1.906 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003886/0.7846, allocations: 43.91 kB / 0.5636 GB, free: 1.863 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.7848, allocations: 31.91 kB / 0.5636 GB, free: 1.832 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.951e-05/0.7848, allocations: 15.92 kB / 0.5636 GB, free: 1.816 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005658/0.7854, allocations: 394.8 kB / 0.564 GB, free: 1.43 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7854, allocations: 0 / 0.564 GB, free: 1.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.007225/0.7926, allocations: 1.151 MB / 0.5651 GB, free: 284 kB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse4.region3boundary,$cse5.region3boundary,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.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 (33): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01141/0.804, allocations: 1.218 MB / 0.5663 GB, free: 15.06 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0021/0.8062, allocations: 0.823 MB / 0.5671 GB, free: 14.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.8062, allocations: 0 / 0.5671 GB, free: 14.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008025/0.807, allocations: 492.8 kB / 0.5676 GB, free: 13.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/0.8089, allocations: 274 kB / 0.5678 GB, free: 13.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003075/0.812, allocations: 2 MB / 0.5698 GB, free: 11.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006727/0.8127, allocations: 0.9759 MB / 0.5707 GB, free: 10.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00105/0.8138, allocations: 0.562 MB / 0.5713 GB, free: 9.887 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.8139, allocations: 47.44 kB / 0.5713 GB, free: 9.844 MB / 446.1 MB Notification: Performance of SimCode: time 1.032e-06/0.8139, allocations: 0 / 0.5713 GB, free: 9.844 MB / 446.1 MB Notification: Performance of Templates: time 0.0755/0.8894, allocations: 41.63 MB / 0.612 GB, free: 204 kB / 478.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.pipe 2>&1) Environment - environmentSimulation: