Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0016/0.001605, allocations: 183.4 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.355/2.355, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001173/0.001173, allocations: 99.83 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5307/0.5307, allocations: 43.56 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004739/0.0004741, allocations: 8 kB / 431.5 MB, free: 5.836 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1352, allocations: 58.85 MB / 490.3 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.3713/0.5065, allocations: 25.38 MB / 0.5036 GB, free: 32.57 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02113/0.5277, allocations: 13.19 MB / 0.5165 GB, free: 23.44 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005306/0.5283, allocations: 8.438 kB / 0.5165 GB, free: 23.43 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008566/0.5292, allocations: 179.5 kB / 0.5167 GB, free: 23.33 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007312/0.5299, allocations: 220.8 kB / 0.5169 GB, free: 23.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01774/0.5477, allocations: 4.369 MB / 0.5211 GB, free: 21.08 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00103/0.5488, allocations: 484.6 kB / 0.5216 GB, free: 20.84 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003941/0.5492, allocations: 185.9 kB / 0.5218 GB, free: 20.78 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02289/0.5721, allocations: 8.844 MB / 0.5304 GB, free: 19.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004292/0.5726, allocations: 154 kB / 0.5306 GB, free: 19.65 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.818e-05/0.5726, allocations: 14.84 kB / 0.5306 GB, free: 19.65 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01515/0.5878, allocations: 5.922 MB / 0.5364 GB, free: 18.37 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001998/0.5881, allocations: 73.41 kB / 0.5364 GB, free: 18.33 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.5883, allocations: 92.42 kB / 0.5365 GB, free: 18.27 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007287/0.5955, allocations: 2.454 MB / 0.5389 GB, free: 17.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.5956, allocations: 0 / 0.5389 GB, free: 17.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.5956, allocations: 0 / 0.5389 GB, free: 17.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.5956, allocations: 0 / 0.5389 GB, free: 17.84 MB / 378.7 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.004888/0.6005, allocations: 0.9342 MB / 0.5398 GB, free: 17.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.6006, allocations: 9.281 kB / 0.5398 GB, free: 17.18 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001113/0.6007, allocations: 61.84 kB / 0.5399 GB, free: 17.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/0.602, allocations: 114.8 kB / 0.54 GB, free: 17.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005763/0.6026, allocations: 328.3 kB / 0.5403 GB, free: 16.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.6e-05/0.6027, allocations: 24.41 kB / 0.5403 GB, free: 16.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.587e-05/0.6027, allocations: 23.72 kB / 0.5404 GB, free: 16.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/0.6045, allocations: 473.6 kB / 0.5408 GB, free: 16.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.6045, allocations: 0.8438 kB / 0.5408 GB, free: 16.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.339e-05/0.6046, allocations: 12.31 kB / 0.5408 GB, free: 16.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.6046, allocations: 6.219 kB / 0.5408 GB, free: 16.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/0.6065, allocations: 396.5 kB / 0.5412 GB, free: 16.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004527/0.611, allocations: 2.395 MB / 0.5436 GB, free: 14.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/0.6129, allocations: 309.5 kB / 0.5439 GB, free: 14.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005265/0.6134, allocations: 483.7 kB / 0.5443 GB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.6135, allocations: 39.94 kB / 0.5444 GB, free: 13.83 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.264e-06/0.6135, allocations: 4 kB / 0.5444 GB, free: 13.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.002878/0.6164, allocations: 496.8 kB / 0.5448 GB, free: 13.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.6164, allocations: 107 kB / 0.5449 GB, free: 13.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005048/0.617, allocations: 315.6 kB / 0.5452 GB, free: 13.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.617, allocations: 34.77 kB / 0.5453 GB, free: 13.37 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.6172, allocations: 254.9 kB / 0.5455 GB, free: 13.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.553e-05/0.6172, allocations: 50.19 kB / 0.5456 GB, free: 13.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.858e-05/0.6172, allocations: 1.031 kB / 0.5456 GB, free: 13.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.591e-05/0.6173, allocations: 320.3 kB / 0.5459 GB, free: 12.78 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004819/0.6178, allocations: 97.62 kB / 0.546 GB, free: 12.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005499/0.6184, allocations: 210.8 kB / 0.5462 GB, free: 12.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000516/0.6189, allocations: 115.7 kB / 0.5463 GB, free: 12.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.6189, allocations: 1.031 kB / 0.5463 GB, free: 12.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001244/0.6202, allocations: 314.8 kB / 0.5466 GB, free: 12.42 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.6202, allocations: 6.875 kB / 0.5466 GB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.6202, allocations: 6.688 kB / 0.5466 GB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/0.6203, allocations: 6.875 kB / 0.5466 GB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004833/0.6208, allocations: 72.36 kB / 0.5467 GB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.732e-05/0.6208, allocations: 11.5 kB / 0.5467 GB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005099/0.6213, allocations: 53.11 kB / 0.5467 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.815e-05/0.6214, allocations: 14.47 kB / 0.5467 GB, free: 12.38 MB / 378.7 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.0002279/0.6216, allocations: 155.4 kB / 0.5469 GB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.092e-05/0.6217, allocations: 30.72 kB / 0.5469 GB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001864/0.6236, allocations: 0.7871 MB / 0.5477 GB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/0.6236, allocations: 9.156 kB / 0.5477 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.6236, allocations: 5.031 kB / 0.5477 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.6236, allocations: 1.375 kB / 0.5477 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000819/0.6245, allocations: 0.526 MB / 0.5482 GB, free: 11.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.6245, allocations: 3.328 kB / 0.5482 GB, free: 11.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004081/0.6249, allocations: 61.11 kB / 0.5483 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.954e-06/0.6249, allocations: 1.375 kB / 0.5483 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.6249, allocations: 1.375 kB / 0.5483 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.625, allocations: 0 / 0.5483 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.625, allocations: 1.375 kB / 0.5483 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.6261, allocations: 476.8 kB / 0.5487 GB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002173/0.6263, allocations: 189.7 kB / 0.5489 GB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.757e-05/0.6264, allocations: 1.797 kB / 0.5489 GB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004339/0.6269, allocations: 30.98 kB / 0.5489 GB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.627, allocations: 18.88 kB / 0.549 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.627, allocations: 6.125 kB / 0.549 GB, free: 11.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005722/0.6276, allocations: 343.2 kB / 0.5493 GB, free: 10.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6276, allocations: 0 / 0.5493 GB, free: 10.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005859/0.6335, allocations: 0.8525 MB / 0.5501 GB, free: 10.71 MB / 378.7 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.009916/0.6435, allocations: 1.902 MB / 0.552 GB, free: 9.555 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001234/0.6447, allocations: 291.8 kB / 0.5523 GB, free: 9.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.6448, allocations: 0 / 0.5523 GB, free: 9.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004873/0.6453, allocations: 181.7 kB / 0.5524 GB, free: 9.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/0.6468, allocations: 168.1 kB / 0.5526 GB, free: 9.258 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008815/0.6556, allocations: 4.832 MB / 0.5573 GB, free: 5.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.656, allocations: 0.8505 MB / 0.5581 GB, free: 4.215 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002916/0.6563, allocations: 159.4 kB / 0.5583 GB, free: 4.062 MB / 378.7 MB Notification: Performance of SimCode: time 1.363e-06/0.6563, allocations: 0 / 0.5583 GB, free: 4.062 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.377/4.033, allocations: 24.32 MB / 0.582 GB, free: 11.73 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat does not exist to compare? outputFormat=mat