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.0009735/0.0009735, allocations: 100.8 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.001051/0.001051, allocations: 177.3 kB / 15.94 MB, free: 220 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.326/1.326, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.2937/0.2937, allocations: 39.99 MB / 310.4 MB, free: 9.621 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.0005709/0.0005711, allocations: 20 kB / 378.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1022, allocations: 57.95 MB / 436.8 MB, free: 2.305 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate): time 0.2148/0.3171, allocations: 35.89 MB / 472.6 MB, free: 33.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01282/0.3299, allocations: 13.42 MB / 486.1 MB, free: 24.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006402/0.3306, allocations: 18.78 kB / 486.1 MB, free: 24.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007851/0.3314, allocations: 253.6 kB / 486.3 MB, free: 24.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009281/0.3407, allocations: 3.616 MB / 490 MB, free: 22.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004554/0.3453, allocations: 1.732 MB / 491.7 MB, free: 21.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001026/0.3463, allocations: 0.7055 MB / 492.4 MB, free: 20.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000423/0.3468, allocations: 284.9 kB / 492.7 MB, free: 20.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007865/0.3476, allocations: 491.9 kB / 493.1 MB, free: 20.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003651/0.3479, allocations: 280.2 kB / 493.4 MB, free: 20.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.38e-05/0.348, allocations: 24.28 kB / 493.4 MB, free: 20.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01231/0.3603, allocations: 7.183 MB / 0.4889 GB, free: 18.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002022/0.3606, allocations: 99.88 kB / 0.489 GB, free: 18.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000236/0.3608, allocations: 137.3 kB / 0.4891 GB, free: 18.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007425/0.3682, allocations: 3.103 MB / 0.4921 GB, free: 18.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3683, allocations: 0 / 0.4921 GB, free: 18.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3683, allocations: 0 / 0.4921 GB, free: 18.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.3683, allocations: 0 / 0.4921 GB, free: 18.19 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.004899/0.3732, allocations: 1.267 MB / 0.4934 GB, free: 17.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.3733, allocations: 9.156 kB / 0.4934 GB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002049/0.3753, allocations: 291.1 kB / 0.4937 GB, free: 17.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005782/0.3759, allocations: 396.9 kB / 0.4941 GB, free: 17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.584e-05/0.376, allocations: 42.64 kB / 0.4941 GB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.233e-05/0.376, allocations: 40.81 kB / 0.4941 GB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/0.3777, allocations: 0.6896 MB / 0.4948 GB, free: 16.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.3777, allocations: 2.031 kB / 0.4948 GB, free: 16.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.678e-05/0.3777, allocations: 17.47 kB / 0.4948 GB, free: 16.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.3778, allocations: 9.531 kB / 0.4948 GB, free: 16.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/0.3794, allocations: 0.6202 MB / 0.4954 GB, free: 16.48 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.003196/0.3826, allocations: 2.992 MB / 0.4984 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/0.384, allocations: 495.3 kB / 0.4988 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07637/0.4604, allocations: 40.31 MB / 0.5382 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.4605, allocations: 34.56 kB / 0.5382 GB, free: 11.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 3.366e-06/0.4605, allocations: 3.984 kB / 0.5382 GB, free: 11.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=30): time 0.003463/0.464, allocations: 1.007 MB / 0.5392 GB, free: 10.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.902e-05/0.4641, allocations: 106.8 kB / 0.5393 GB, free: 10.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005717/0.4647, allocations: 409.9 kB / 0.5397 GB, free: 9.727 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.091e-05/0.4647, allocations: 29.7 kB / 0.5397 GB, free: 9.691 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003022/0.4651, allocations: 244 kB / 0.54 GB, free: 9.449 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.4652, allocations: 110.6 kB / 0.5401 GB, free: 9.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.913e-05/0.4652, allocations: 7.938 kB / 0.5401 GB, free: 9.332 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.4654, allocations: 354.8 kB / 0.5404 GB, free: 8.977 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003778/0.4657, allocations: 147.9 kB / 0.5406 GB, free: 8.832 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004206/0.4662, allocations: 267.1 kB / 0.5408 GB, free: 8.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004655/0.4666, allocations: 175.8 kB / 0.541 GB, free: 8.348 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.4667, allocations: 4 kB / 0.541 GB, free: 8.344 MB / 414.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001152/0.4678, allocations: 0.494 MB / 0.5415 GB, free: 7.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005222/0.4684, allocations: 1.319 MB / 0.5428 GB, free: 6.418 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.4684, allocations: 4 kB / 0.5428 GB, free: 6.414 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003078/0.4715, allocations: 364.4 kB / 0.5431 GB, free: 6.055 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004293/0.472, allocations: 95.88 kB / 0.5432 GB, free: 5.961 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006729/0.4726, allocations: 0.6138 MB / 0.5438 GB, free: 5.324 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005547/0.4732, allocations: 67.56 kB / 0.5439 GB, free: 5.258 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.72e-05/0.4733, allocations: 20 kB / 0.5439 GB, free: 5.238 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.4733, allocations: 4 kB / 0.5439 GB, free: 5.234 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009027/0.4742, allocations: 404.7 kB / 0.5443 GB, free: 4.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.4742, allocations: 8.031 kB / 0.5443 GB, free: 4.832 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.4742, allocations: 8 kB / 0.5443 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004359/0.4747, allocations: 111.8 kB / 0.5444 GB, free: 4.715 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.4747, allocations: 7.984 kB / 0.5444 GB, free: 4.707 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004272/0.4751, allocations: 63.56 kB / 0.5445 GB, free: 4.645 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.27e-05/0.4752, allocations: 20 kB / 0.5445 GB, free: 4.625 MB / 414.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.000311/0.4755, allocations: 252.9 kB / 0.5447 GB, free: 4.367 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.041e-05/0.4756, allocations: 47.44 kB / 0.5448 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002585/0.4782, allocations: 2.04 MB / 0.5468 GB, free: 2.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.924e-05/0.4782, allocations: 27.95 kB / 0.5468 GB, free: 2.242 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.4783, allocations: 7.938 kB / 0.5468 GB, free: 2.234 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.4783, allocations: 0 / 0.5468 GB, free: 2.234 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.4795, allocations: 1.015 MB / 0.5478 GB, free: 1.172 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.4795, allocations: 9.672 kB / 0.5478 GB, free: 1.164 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003257/0.4799, allocations: 71.95 kB / 0.5479 GB, free: 1.094 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001458/0.4813, allocations: 0.6351 MB / 0.5485 GB, free: 464 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.776e-05/0.4814, allocations: 4 kB / 0.5485 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000903/0.4823, allocations: 1.014 MB / 0.5495 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.4823, allocations: 0 / 0.5495 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/0.4841, allocations: 1.337 MB / 0.5508 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003573/0.4845, allocations: 259.4 kB / 0.551 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.982e-05/0.4846, allocations: 8 kB / 0.551 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000325/0.4849, allocations: 47.81 kB / 0.5511 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.485, allocations: 35.84 kB / 0.5511 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/0.485, allocations: 16 kB / 0.5511 GB, free: 13.67 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004879/0.4855, allocations: 394.8 kB / 0.5515 GB, free: 13.29 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4855, allocations: 0 / 0.5515 GB, free: 13.29 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004933/0.4905, allocations: 1.144 MB / 0.5526 GB, free: 12.14 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.006827/0.4973, allocations: 1.223 MB / 0.5538 GB, free: 10.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001744/0.4991, allocations: 0.812 MB / 0.5546 GB, free: 10.11 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.4991, allocations: 3.938 kB / 0.5546 GB, free: 10.1 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006604/0.4998, allocations: 496.8 kB / 0.5551 GB, free: 9.617 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.5012, allocations: 274.1 kB / 0.5554 GB, free: 9.352 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.5034, allocations: 1.969 MB / 0.5573 GB, free: 7.355 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005088/0.504, allocations: 1.003 MB / 0.5583 GB, free: 6.324 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007973/0.5048, allocations: 0.5497 MB / 0.5588 GB, free: 5.773 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.889e-05/0.5049, allocations: 51.42 kB / 0.5588 GB, free: 5.727 MB / 430.1 MB Notification: Performance of SimCode: time 6.11e-07/0.5049, allocations: 0 / 0.5588 GB, free: 5.727 MB / 430.1 MB Notification: Performance of Templates: time 0.05744/0.5623, allocations: 41.92 MB / 0.5998 GB, free: 11.8 MB / 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: