Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 96.92 kB / 16.99 MB, free: 5.941 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.001183/0.001183, allocations: 183.4 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 223.2 MB / 241.8 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2261/0.2261, allocations: 44.23 MB / 337.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003742/0.0003746, allocations: 12 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1581, allocations: 61.92 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03411/0.1923, allocations: 25.38 MB / 496.9 MB, free: 4.184 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01789/0.2103, allocations: 13.2 MB / 0.4982 GB, free: 6.957 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005314/0.2109, allocations: 11.88 kB / 0.4982 GB, free: 6.945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007576/0.2116, allocations: 179.1 kB / 0.4984 GB, free: 6.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006382/0.2123, allocations: 219.4 kB / 0.4986 GB, free: 6.555 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01567/0.228, allocations: 4.375 MB / 0.5028 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001042/0.229, allocations: 480.4 kB / 0.5033 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003687/0.2294, allocations: 181 kB / 0.5035 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3434/0.5728, allocations: 8.845 MB / 0.5121 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005556/0.5734, allocations: 158.6 kB / 0.5123 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.682e-05/0.5735, allocations: 13.66 kB / 0.5123 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01409/0.5876, allocations: 5.928 MB / 0.5181 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001856/0.5878, allocations: 67.83 kB / 0.5181 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002284/0.588, allocations: 93.98 kB / 0.5182 GB, free: 15.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007532/0.5956, allocations: 2.447 MB / 0.5206 GB, free: 14.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.5956, allocations: 5.844 kB / 0.5206 GB, free: 14.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.5956, allocations: 2.516 kB / 0.5206 GB, free: 14.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.5957, allocations: 0 / 0.5206 GB, free: 14.98 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.004223/0.5999, allocations: 0.9394 MB / 0.5215 GB, free: 14.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/0.6, allocations: 8.719 kB / 0.5215 GB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.439e-05/0.6001, allocations: 61.59 kB / 0.5216 GB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.6011, allocations: 117.6 kB / 0.5217 GB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005251/0.6017, allocations: 318.3 kB / 0.522 GB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.97e-05/0.6017, allocations: 20.81 kB / 0.522 GB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.545e-05/0.6018, allocations: 31.17 kB / 0.5221 GB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.603, allocations: 461.9 kB / 0.5225 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.6031, allocations: 9.516 kB / 0.5225 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.986e-05/0.6031, allocations: 12.12 kB / 0.5225 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.6031, allocations: 7.641 kB / 0.5225 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.6042, allocations: 397.8 kB / 0.5229 GB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00335/0.6076, allocations: 2.393 MB / 0.5252 GB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.6087, allocations: 309.7 kB / 0.5255 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004258/0.6091, allocations: 483.3 kB / 0.526 GB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.6092, allocations: 37.38 kB / 0.526 GB, free: 11.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 2.154e-06/0.6092, allocations: 0 / 0.526 GB, free: 11.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001686/0.6109, allocations: 493.3 kB / 0.5265 GB, free: 11.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.611, allocations: 109 kB / 0.5266 GB, free: 11.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003523/0.6113, allocations: 325 kB / 0.5269 GB, free: 11.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.6113, allocations: 25.7 kB / 0.5269 GB, free: 11.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.6115, allocations: 208.8 kB / 0.5271 GB, free: 11.15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.6116, allocations: 45.95 kB / 0.5272 GB, free: 11.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.111e-05/0.6116, allocations: 5.609 kB / 0.5272 GB, free: 11.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.6117, allocations: 340.5 kB / 0.5275 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002592/0.612, allocations: 95.66 kB / 0.5276 GB, free: 10.81 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003163/0.6123, allocations: 216.5 kB / 0.5278 GB, free: 10.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.6126, allocations: 119 kB / 0.5279 GB, free: 10.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.6126, allocations: 2.562 kB / 0.5279 GB, free: 10.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006798/0.6133, allocations: 339.4 kB / 0.5283 GB, free: 10.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.6133, allocations: 6.469 kB / 0.5283 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.6133, allocations: 2.469 kB / 0.5283 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.6133, allocations: 5.812 kB / 0.5283 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/0.6136, allocations: 72.52 kB / 0.5283 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.6136, allocations: 5.812 kB / 0.5283 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003014/0.6139, allocations: 53.91 kB / 0.5284 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.879e-05/0.614, allocations: 17.52 kB / 0.5284 GB, free: 10.57 MB / 382.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_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 initialization (27): * Single equations (assignments): 27 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001647/0.6141, allocations: 160 kB / 0.5286 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.407e-05/0.6142, allocations: 32.56 kB / 0.5286 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009984/0.6152, allocations: 0.7834 MB / 0.5294 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.6152, allocations: 5.672 kB / 0.5294 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.6152, allocations: 5.969 kB / 0.5294 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.6152, allocations: 0 / 0.5294 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000553/0.6158, allocations: 0.532 MB / 0.5299 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.6158, allocations: 0 / 0.5299 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.616, allocations: 54.19 kB / 0.5299 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/0.616, allocations: 0 / 0.5299 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.616, allocations: 6.75 kB / 0.5299 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.6161, allocations: 3.375 kB / 0.53 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6161, allocations: 0 / 0.53 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006184/0.6167, allocations: 486.8 kB / 0.5304 GB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.6168, allocations: 185.7 kB / 0.5306 GB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.262e-05/0.6169, allocations: 2.531 kB / 0.5306 GB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.6171, allocations: 39.66 kB / 0.5306 GB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.8e-05/0.6172, allocations: 16.47 kB / 0.5306 GB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.6172, allocations: 7.781 kB / 0.5307 GB, free: 9.699 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003294/0.6175, allocations: 334.8 kB / 0.531 GB, free: 9.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6176, allocations: 0 / 0.531 GB, free: 9.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.005297/0.6229, allocations: 0.8358 MB / 0.5318 GB, free: 9.469 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008721/0.6316, allocations: 1.914 MB / 0.5337 GB, free: 8.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008677/0.6325, allocations: 296 kB / 0.5339 GB, free: 8.285 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6325, allocations: 0 / 0.5339 GB, free: 8.285 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002699/0.6328, allocations: 170.7 kB / 0.5341 GB, free: 8.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009774/0.6338, allocations: 175.4 kB / 0.5343 GB, free: 8.051 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005743/0.6396, allocations: 4.811 MB / 0.539 GB, free: 3.473 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.6398, allocations: 0.8543 MB / 0.5398 GB, free: 2.594 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000346/0.6402, allocations: 143.9 kB / 0.5399 GB, free: 2.461 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.6404, allocations: 153.9 kB / 0.5401 GB, free: 2.418 MB / 382.1 MB Notification: Performance of SimCode: time 1.893e-06/0.6404, allocations: 0 / 0.5401 GB, free: 2.418 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07712/0.7175, allocations: 38.84 MB / 0.578 GB, free: 11.95 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002264/0.7177, allocations: 250.2 kB / 0.5783 GB, free: 11.7 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.932/4.65, allocations: 4 kB / 0.5783 GB, free: 11.69 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat does not exist to compare? outputFormat=mat