Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.0007795/0.0007795, allocations: 98.11 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.005518/0.005518, allocations: 172.4 kB / 16.27 MB, free: 6.648 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.542/1.542, allocations: 205.4 MB / 222.4 MB, free: 5.809 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3038/0.3038, allocations: 38.03 MB / 308.8 MB, free: 10.17 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.1. 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.0005301/0.00053, allocations: 16 kB / 377.1 MB, free: 14.81 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1157, allocations: 57.53 MB / 434.6 MB, free: 5.184 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate): time 0.2511/0.3669, allocations: 42.66 MB / 477.2 MB, free: 30.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01796/0.3849, allocations: 16.44 MB / 493.7 MB, free: 20.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.386, allocations: 21 kB / 493.7 MB, free: 20.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009882/0.387, allocations: 255.2 kB / 494 MB, free: 19.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01172/0.3987, allocations: 3.718 MB / 497.7 MB, free: 18.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006072/0.4048, allocations: 1.812 MB / 499.5 MB, free: 17.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001475/0.4063, allocations: 1.556 MB / 0.4893 GB, free: 16.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003915/0.4067, allocations: 290.7 kB / 0.4896 GB, free: 16.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007096/0.4074, allocations: 479.9 kB / 0.49 GB, free: 16.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004627/0.4079, allocations: 373.8 kB / 0.4904 GB, free: 16.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.915e-05/0.408, allocations: 25.47 kB / 0.4904 GB, free: 16.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01423/0.4222, allocations: 7.303 MB / 0.4975 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002474/0.4225, allocations: 110.9 kB / 0.4976 GB, free: 14.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005703/0.4231, allocations: 289.7 kB / 0.4979 GB, free: 14.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01648/0.4396, allocations: 4.608 MB / 0.5024 GB, free: 12.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.4396, allocations: 0.9062 kB / 0.5024 GB, free: 12.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.4396, allocations: 0 / 0.5024 GB, free: 12.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.515e-05/0.4397, allocations: 4 kB / 0.5024 GB, free: 12.91 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.006219/0.4459, allocations: 1.259 MB / 0.5037 GB, free: 12.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.446, allocations: 14.34 kB / 0.5037 GB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002204/0.4482, allocations: 282.7 kB / 0.5039 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000753/0.449, allocations: 405.9 kB / 0.5043 GB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.743e-05/0.449, allocations: 35.47 kB / 0.5044 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.109e-05/0.4491, allocations: 39.8 kB / 0.5044 GB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00188/0.451, allocations: 0.7073 MB / 0.5051 GB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.451, allocations: 5.188 kB / 0.5051 GB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.677e-05/0.4511, allocations: 17.22 kB / 0.5051 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.4511, allocations: 10.53 kB / 0.5051 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001717/0.4529, allocations: 0.6121 MB / 0.5057 GB, free: 11.2 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.003951/0.4568, allocations: 3.003 MB / 0.5087 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001513/0.4584, allocations: 496.5 kB / 0.5091 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004462/0.4588, allocations: 197 kB / 0.5093 GB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08386/0.5427, allocations: 40.31 MB / 0.5487 GB, free: 3.242 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.206e-05/0.5429, allocations: 34.5 kB / 0.5487 GB, free: 3.199 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 5.611e-06/0.5429, allocations: 0 / 0.5487 GB, free: 3.199 MB / 414.1 MB Notification: Performance of matching and sorting (n=30): time 0.00456/0.5475, allocations: 1.011 MB / 0.5497 GB, free: 2.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001688/0.5476, allocations: 110.8 kB / 0.5498 GB, free: 2.027 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009161/0.5486, allocations: 425.7 kB / 0.5502 GB, free: 1.602 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.552e-05/0.5487, allocations: 29.7 kB / 0.5502 GB, free: 1.566 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003064/0.549, allocations: 240 kB / 0.5505 GB, free: 1.328 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/0.5492, allocations: 106.5 kB / 0.5506 GB, free: 1.223 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.992e-05/0.5493, allocations: 33.7 kB / 0.5506 GB, free: 1.184 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000206/0.5495, allocations: 354.8 kB / 0.5509 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004307/0.5499, allocations: 155.8 kB / 0.5511 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000504/0.5505, allocations: 271.1 kB / 0.5513 GB, free: 368 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000922/0.5514, allocations: 420.6 kB / 0.5517 GB, free: 15.9 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.5514, allocations: 0 / 0.5517 GB, free: 15.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001361/0.5528, allocations: 0.5138 MB / 0.5522 GB, free: 15.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001949/0.553, allocations: 194.3 kB / 0.5524 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.553, allocations: 4 kB / 0.5524 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003444/0.5565, allocations: 372.4 kB / 0.5528 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003504/0.5568, allocations: 95.88 kB / 0.5529 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005285/0.5574, allocations: 0.6031 MB / 0.5535 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005788/0.558, allocations: 75.47 kB / 0.5535 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.512e-05/0.558, allocations: 16 kB / 0.5536 GB, free: 13.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.558, allocations: 4 kB / 0.5536 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009147/0.559, allocations: 416.6 kB / 0.554 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.559, allocations: 4 kB / 0.554 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.559, allocations: 8 kB / 0.554 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003743/0.5594, allocations: 107.9 kB / 0.5541 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.5594, allocations: 15.91 kB / 0.5541 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004594/0.5599, allocations: 63.78 kB / 0.5542 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.603e-05/0.5599, allocations: 20 kB / 0.5542 GB, free: 13.33 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.0003073/0.5602, allocations: 249 kB / 0.5544 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.5603, allocations: 47.53 kB / 0.5545 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002478/0.5628, allocations: 2.042 MB / 0.5564 GB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.1e-05/0.5629, allocations: 27.95 kB / 0.5565 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.5629, allocations: 0 / 0.5565 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.5629, allocations: 7.938 kB / 0.5565 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.564, allocations: 1.015 MB / 0.5575 GB, free: 9.875 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.564, allocations: 0 / 0.5575 GB, free: 9.875 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002831/0.5643, allocations: 79.88 kB / 0.5576 GB, free: 9.797 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001419/0.5658, allocations: 0.6311 MB / 0.5582 GB, free: 9.16 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.984e-05/0.5658, allocations: 8 kB / 0.5582 GB, free: 9.152 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007612/0.5666, allocations: 1.018 MB / 0.5592 GB, free: 8.109 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.5666, allocations: 0 / 0.5592 GB, free: 8.109 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.5682, allocations: 1.348 MB / 0.5605 GB, free: 6.742 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000343/0.5685, allocations: 259.3 kB / 0.5607 GB, free: 6.469 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.977e-05/0.5686, allocations: 12 kB / 0.5607 GB, free: 6.457 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003154/0.569, allocations: 35.91 kB / 0.5608 GB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.008e-05/0.5691, allocations: 35.89 kB / 0.5608 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.5691, allocations: 12 kB / 0.5608 GB, free: 6.375 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004269/0.5695, allocations: 402.8 kB / 0.5612 GB, free: 5.98 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5695, allocations: 0 / 0.5612 GB, free: 5.98 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006813/0.5763, allocations: 1.144 MB / 0.5623 GB, free: 4.836 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 (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.01088/0.5872, allocations: 1.214 MB / 0.5635 GB, free: 3.613 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002099/0.5894, allocations: 0.815 MB / 0.5643 GB, free: 2.801 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.5894, allocations: 0 / 0.5643 GB, free: 2.801 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007438/0.5902, allocations: 0.4933 MB / 0.5648 GB, free: 2.312 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001888/0.5921, allocations: 281.6 kB / 0.5651 GB, free: 2.039 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002929/0.595, allocations: 2 MB / 0.567 GB, free: 8 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006914/0.5957, allocations: 0.9798 MB / 0.568 GB, free: 15 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009851/0.5967, allocations: 0.558 MB / 0.5685 GB, free: 14.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.5969, allocations: 47.44 kB / 0.5686 GB, free: 14.39 MB / 446.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5969, allocations: 0 / 0.5686 GB, free: 14.39 MB / 446.1 MB Notification: Performance of Templates: time 0.06224/0.6591, allocations: 41.64 MB / 0.6092 GB, free: 4.742 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.pipe 2>&1) Environment - environmentSimulation: