Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.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.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007598/0.007597, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001377/0.001377, allocations: 191.5 kB / 16.67 MB, free: 5.969 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.601/1.601, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.3624/0.3624, allocations: 38 MB / 307.9 MB, free: 10.09 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.001497/0.001497, allocations: 79.86 kB / 433 MB, free: 5.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.364, allocations: 56.46 MB / 489.5 MB, free: 20.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03325/0.3973, allocations: 30.06 MB / 0.5073 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01918/0.4165, allocations: 15.5 MB / 0.5225 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004292/0.417, allocations: 10.66 kB / 0.5225 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007825/0.4178, allocations: 212.3 kB / 0.5227 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007217/0.4186, allocations: 281.2 kB / 0.523 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01943/0.438, allocations: 5.607 MB / 0.5284 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001892/0.4399, allocations: 0.8076 MB / 0.5292 GB, free: 13.05 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000505/0.4404, allocations: 230.5 kB / 0.5294 GB, free: 12.9 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01318/0.4536, allocations: 5.467 MB / 0.5348 GB, free: 9.18 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005751/0.4542, allocations: 231 kB / 0.535 GB, free: 8.953 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.144e-05/0.4543, allocations: 28 kB / 0.535 GB, free: 8.926 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01276/0.4671, allocations: 6.087 MB / 0.541 GB, free: 2.832 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002109/0.4673, allocations: 87.67 kB / 0.5411 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004123/0.4678, allocations: 183.2 kB / 0.5412 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01245/0.4802, allocations: 3.652 MB / 0.5448 GB, free: 14.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.667e-06/0.4803, allocations: 3.984 kB / 0.5448 GB, free: 14.9 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.4803, allocations: 4 kB / 0.5448 GB, free: 14.9 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.4803, allocations: 0 / 0.5448 GB, free: 14.9 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.002679/0.483, allocations: 1.015 MB / 0.5458 GB, free: 13.83 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.483, allocations: 11.89 kB / 0.5458 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009092/0.4839, allocations: 116.6 kB / 0.5459 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005537/0.4845, allocations: 342.7 kB / 0.5462 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/0.4845, allocations: 20.94 kB / 0.5463 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.341e-05/0.4846, allocations: 24.38 kB / 0.5463 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.4857, allocations: 462.8 kB / 0.5467 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.4857, allocations: 3.984 kB / 0.5467 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.641e-05/0.4858, allocations: 12 kB / 0.5467 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.4858, allocations: 8 kB / 0.5468 GB, free: 12.78 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.4868, allocations: 377.2 kB / 0.5471 GB, free: 12.41 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002903/0.4897, allocations: 2.384 MB / 0.5494 GB, free: 9.812 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.4908, allocations: 278.3 kB / 0.5497 GB, free: 9.531 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002688/0.491, allocations: 92.8 kB / 0.5498 GB, free: 9.438 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004181/0.4915, allocations: 477.5 kB / 0.5503 GB, free: 8.879 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.4915, allocations: 42.55 kB / 0.5503 GB, free: 8.828 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 2.345e-06/0.4915, allocations: 4 kB / 0.5503 GB, free: 8.824 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.001699/0.4932, allocations: 453.2 kB / 0.5507 GB, free: 8.375 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.233e-05/0.4933, allocations: 110.8 kB / 0.5508 GB, free: 8.242 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003548/0.4937, allocations: 320.4 kB / 0.5511 GB, free: 7.918 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.4937, allocations: 29.7 kB / 0.5512 GB, free: 7.883 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.4939, allocations: 208 kB / 0.5514 GB, free: 7.676 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.4939, allocations: 43.67 kB / 0.5514 GB, free: 7.633 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.727e-05/0.494, allocations: 61.64 kB / 0.5515 GB, free: 7.566 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.4942, allocations: 342.8 kB / 0.5518 GB, free: 7.223 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002589/0.4944, allocations: 83.92 kB / 0.5519 GB, free: 7.141 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003472/0.4948, allocations: 195.4 kB / 0.5521 GB, free: 6.895 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005842/0.4954, allocations: 293.4 kB / 0.5523 GB, free: 6.559 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4954, allocations: 0 / 0.5523 GB, free: 6.559 MB / 430.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007062/0.4961, allocations: 317.2 kB / 0.5526 GB, free: 6.242 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.4961, allocations: 4 kB / 0.5526 GB, free: 6.238 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.4961, allocations: 4 kB / 0.5526 GB, free: 6.234 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.4962, allocations: 4 kB / 0.5527 GB, free: 6.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002464/0.4964, allocations: 67.89 kB / 0.5527 GB, free: 6.164 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.4964, allocations: 11.88 kB / 0.5527 GB, free: 6.152 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.4967, allocations: 44.08 kB / 0.5528 GB, free: 6.109 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/0.4967, allocations: 19.98 kB / 0.5528 GB, free: 6.09 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_2.medium.phase,boundary_prescriberho_1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000157/0.4969, allocations: 153.7 kB / 0.5529 GB, free: 5.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.077e-05/0.4969, allocations: 27.81 kB / 0.553 GB, free: 5.902 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/0.4981, allocations: 0.7526 MB / 0.5537 GB, free: 5.137 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.697e-05/0.4981, allocations: 11.98 kB / 0.5537 GB, free: 5.125 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.4981, allocations: 7.875 kB / 0.5537 GB, free: 5.117 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.4981, allocations: 0 / 0.5537 GB, free: 5.117 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005857/0.4987, allocations: 0.5261 MB / 0.5542 GB, free: 4.539 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.4987, allocations: 3.984 kB / 0.5542 GB, free: 4.535 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002105/0.499, allocations: 47.89 kB / 0.5543 GB, free: 4.488 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.499, allocations: 0 / 0.5543 GB, free: 4.488 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.499, allocations: 4 kB / 0.5543 GB, free: 4.484 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.499, allocations: 4 kB / 0.5543 GB, free: 4.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.499, allocations: 3.938 kB / 0.5543 GB, free: 4.477 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007044/0.4997, allocations: 462 kB / 0.5547 GB, free: 4.012 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.115e-05/0.4998, allocations: 116.8 kB / 0.5548 GB, free: 3.879 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.922e-05/0.4999, allocations: 27.75 kB / 0.5549 GB, free: 3.852 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.5001, allocations: 15.98 kB / 0.5549 GB, free: 3.836 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.799e-05/0.5002, allocations: 19.92 kB / 0.5549 GB, free: 3.816 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.5002, allocations: 11.92 kB / 0.5549 GB, free: 3.805 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003492/0.5005, allocations: 346.9 kB / 0.5552 GB, free: 3.465 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5005, allocations: 0 / 0.5552 GB, free: 3.465 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002624/0.5032, allocations: 0.85 MB / 0.5561 GB, free: 2.613 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: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003409/0.5066, allocations: 0.9915 MB / 0.557 GB, free: 1.621 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007215/0.5073, allocations: 275.7 kB / 0.5573 GB, free: 1.352 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5073, allocations: 0 / 0.5573 GB, free: 1.352 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003021/0.5076, allocations: 164.7 kB / 0.5575 GB, free: 1.191 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009243/0.5086, allocations: 186.2 kB / 0.5576 GB, free: 1.012 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.5099, allocations: 0.8495 MB / 0.5585 GB, free: 136 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004212/0.5103, allocations: 0.8346 MB / 0.5593 GB, free: 15.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003348/0.5107, allocations: 142.8 kB / 0.5594 GB, free: 15.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.068e-05/0.5107, allocations: 35.42 kB / 0.5595 GB, free: 15.1 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.5107, allocations: 0 / 0.5595 GB, free: 15.1 MB / 446.1 MB Notification: Performance of Templates: time 0.04319/0.5539, allocations: 33.77 MB / 0.5924 GB, free: 13.29 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1)