Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001369/0.001369, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001506/0.001506, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2296/0.2296, allocations: 46.11 MB / 344.2 MB, free: 11.56 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002267/0.002267, allocations: 81.48 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1258, allocations: 62.44 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03675/0.1626, allocations: 30.18 MB / 0.4984 GB, free: 6.848 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2895/0.4521, allocations: 15.53 MB / 0.5136 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004269/0.4527, allocations: 9.219 kB / 0.5136 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007666/0.4534, allocations: 218.2 kB / 0.5138 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006714/0.4541, allocations: 267.2 kB / 0.5141 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01759/0.4717, allocations: 5.646 MB / 0.5196 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001232/0.473, allocations: 0.8113 MB / 0.5204 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004306/0.4734, allocations: 236.6 kB / 0.5206 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01469/0.4881, allocations: 5.472 MB / 0.5259 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006728/0.4888, allocations: 238.1 kB / 0.5262 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.879e-05/0.4889, allocations: 28.12 kB / 0.5262 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01535/0.5043, allocations: 5.952 MB / 0.532 GB, free: 7.137 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002154/0.5045, allocations: 94.7 kB / 0.5321 GB, free: 7.066 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000464/0.505, allocations: 182.4 kB / 0.5323 GB, free: 6.961 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01077/0.5158, allocations: 3.672 MB / 0.5359 GB, free: 4.738 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.351e-06/0.5158, allocations: 7.875 kB / 0.5359 GB, free: 4.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5158, allocations: 0 / 0.5359 GB, free: 4.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.597e-06/0.5158, allocations: 0 / 0.5359 GB, free: 4.73 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.002843/0.5187, allocations: 0.9935 MB / 0.5368 GB, free: 3.973 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.5187, allocations: 8.781 kB / 0.5368 GB, free: 3.973 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.196e-05/0.5188, allocations: 62.84 kB / 0.5369 GB, free: 3.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009937/0.5198, allocations: 115.2 kB / 0.537 GB, free: 3.867 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.5202, allocations: 332.8 kB / 0.5373 GB, free: 3.551 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.99e-05/0.5202, allocations: 27.34 kB / 0.5374 GB, free: 3.535 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.5203, allocations: 21.84 kB / 0.5374 GB, free: 3.531 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.5213, allocations: 456.4 kB / 0.5378 GB, free: 3.215 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.5213, allocations: 3.938 kB / 0.5378 GB, free: 3.211 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.349e-05/0.5213, allocations: 11.69 kB / 0.5378 GB, free: 3.203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.5214, allocations: 8.062 kB / 0.5378 GB, free: 3.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.5224, allocations: 367.1 kB / 0.5382 GB, free: 3.035 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002677/0.5251, allocations: 2.393 MB / 0.5405 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009685/0.526, allocations: 272 kB / 0.5408 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002461/0.5263, allocations: 95.8 kB / 0.5409 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003197/0.5266, allocations: 484.9 kB / 0.5413 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.5267, allocations: 37.7 kB / 0.5414 GB, free: 36 kB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.563e-06/0.5267, allocations: 3.938 kB / 0.5414 GB, free: 32 kB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001716/0.5284, allocations: 454.1 kB / 0.5418 GB, free: 15.8 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.883e-05/0.5285, allocations: 106.8 kB / 0.5419 GB, free: 15.67 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003625/0.5289, allocations: 330.8 kB / 0.5422 GB, free: 15.46 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.5289, allocations: 25.7 kB / 0.5422 GB, free: 15.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.5291, allocations: 207 kB / 0.5424 GB, free: 15.24 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.124e-05/0.5291, allocations: 44.2 kB / 0.5425 GB, free: 15.2 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.5292, allocations: 61.62 kB / 0.5425 GB, free: 15.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.5294, allocations: 338.6 kB / 0.5429 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002708/0.5297, allocations: 87.11 kB / 0.543 GB, free: 14.78 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003783/0.5301, allocations: 208.7 kB / 0.5432 GB, free: 14.58 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006113/0.5307, allocations: 278.3 kB / 0.5434 GB, free: 14.36 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.5307, allocations: 0 / 0.5434 GB, free: 14.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007532/0.5315, allocations: 325.1 kB / 0.5437 GB, free: 14.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.5315, allocations: 12.22 kB / 0.5437 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.5315, allocations: 4.938 kB / 0.5437 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.5316, allocations: 4.406 kB / 0.5437 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/0.5318, allocations: 65.05 kB / 0.5438 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/0.5319, allocations: 9.688 kB / 0.5438 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002479/0.5321, allocations: 43.55 kB / 0.5439 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/0.5321, allocations: 16.55 kB / 0.5439 GB, free: 14.12 MB / 398.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.0001704/0.5323, allocations: 158.3 kB / 0.544 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.56e-05/0.5324, allocations: 29.88 kB / 0.5441 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.5336, allocations: 0.7457 MB / 0.5448 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.5336, allocations: 9.594 kB / 0.5448 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.5336, allocations: 3.938 kB / 0.5448 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.5336, allocations: 0 / 0.5448 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005777/0.5342, allocations: 0.5356 MB / 0.5453 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.5342, allocations: 0 / 0.5453 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/0.5344, allocations: 44.89 kB / 0.5454 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.5344, allocations: 0 / 0.5454 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.5344, allocations: 2.281 kB / 0.5454 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.5344, allocations: 0 / 0.5454 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.5345, allocations: 3.938 kB / 0.5454 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007294/0.5352, allocations: 467.7 kB / 0.5458 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.941e-05/0.5353, allocations: 123.6 kB / 0.5459 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.445e-05/0.5354, allocations: 21.12 kB / 0.546 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.5356, allocations: 16.17 kB / 0.546 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.868e-05/0.5357, allocations: 23.75 kB / 0.546 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.5357, allocations: 5.438 kB / 0.546 GB, free: 12.56 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003677/0.536, allocations: 344.8 kB / 0.5463 GB, free: 12.36 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5361, allocations: 0 / 0.5463 GB, free: 12.36 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003044/0.5391, allocations: 0.8473 MB / 0.5472 GB, free: 11.84 MB / 398.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.005599/0.5447, allocations: 1.896 MB / 0.549 GB, free: 10 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008903/0.5456, allocations: 280.3 kB / 0.5493 GB, free: 9.727 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5456, allocations: 0 / 0.5493 GB, free: 9.727 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003303/0.546, allocations: 163.9 kB / 0.5494 GB, free: 9.566 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.5471, allocations: 181.6 kB / 0.5496 GB, free: 9.402 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007721/0.5548, allocations: 4.096 MB / 0.5536 GB, free: 5.156 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005699/0.5554, allocations: 0.8463 MB / 0.5544 GB, free: 4.285 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004107/0.5559, allocations: 142.7 kB / 0.5546 GB, free: 4.145 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/0.5561, allocations: 163.4 kB / 0.5547 GB, free: 3.984 MB / 398.1 MB Notification: Performance of SimCode: time 8.12e-07/0.5561, allocations: 0 / 0.5547 GB, free: 3.984 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08527/0.6414, allocations: 39.05 MB / 0.5929 GB, free: 13.08 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.09/10.73, allocations: 3.938 kB / 0.5929 GB, free: 13.08 MB / 446.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1)