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.0009052/0.0009052, allocations: 98.69 kB / 17 MB, free: 6.398 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.0008793/0.0008793, allocations: 177.2 kB / 17.89 MB, free: 5.945 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.482/1.482, allocations: 223.2 MB / 241.9 MB, free: 256 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2199/0.2199, allocations: 44.23 MB / 337.2 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004434/0.0004435, allocations: 8 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1635, allocations: 61.92 MB / 471.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03251/0.1961, allocations: 27.91 MB / 499.6 MB, free: 1.641 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01837/0.2146, allocations: 14.44 MB / 0.502 GB, free: 3.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005035/0.2151, allocations: 11.88 kB / 0.502 GB, free: 3.148 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006588/0.2158, allocations: 171 kB / 0.5021 GB, free: 2.98 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0007594/0.2166, allocations: 262.4 kB / 0.5024 GB, free: 2.723 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3539/0.5705, allocations: 4.296 MB / 0.5066 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001687/0.5722, allocations: 0.9424 MB / 0.5075 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004088/0.5726, allocations: 176.8 kB / 0.5077 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01861/0.5912, allocations: 8.946 MB / 0.5164 GB, free: 14.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007078/0.592, allocations: 223.6 kB / 0.5166 GB, free: 14.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.891e-05/0.592, allocations: 12.19 kB / 0.5166 GB, free: 14.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01152/0.6036, allocations: 5.815 MB / 0.5223 GB, free: 14.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.6038, allocations: 72.77 kB / 0.5224 GB, free: 14.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002599/0.604, allocations: 91.67 kB / 0.5225 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005396/0.6094, allocations: 2.46 MB / 0.5249 GB, free: 14.26 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.6095, allocations: 3.562 kB / 0.5249 GB, free: 14.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.6095, allocations: 0 / 0.5249 GB, free: 14.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.6095, allocations: 0 / 0.5249 GB, free: 14.26 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.002356/0.6119, allocations: 0.9401 MB / 0.5258 GB, free: 13.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.6119, allocations: 13.62 kB / 0.5258 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.872e-05/0.612, allocations: 59.05 kB / 0.5259 GB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008156/0.6128, allocations: 116.3 kB / 0.526 GB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.6132, allocations: 316.5 kB / 0.5263 GB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.322e-05/0.6132, allocations: 29.17 kB / 0.5263 GB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.376e-05/0.6133, allocations: 23.84 kB / 0.5263 GB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009665/0.6142, allocations: 465.3 kB / 0.5268 GB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.6143, allocations: 6.344 kB / 0.5268 GB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/0.6143, allocations: 13.66 kB / 0.5268 GB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.6143, allocations: 6.906 kB / 0.5268 GB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000956/0.6153, allocations: 397.2 kB / 0.5272 GB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002581/0.6179, allocations: 2.407 MB / 0.5295 GB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009264/0.6188, allocations: 305.3 kB / 0.5298 GB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.6191, allocations: 105 kB / 0.5299 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003364/0.6194, allocations: 485 kB / 0.5304 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.6194, allocations: 36.94 kB / 0.5304 GB, free: 10.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/0.6194, allocations: 6.453 kB / 0.5304 GB, free: 10.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001501/0.6209, allocations: 486.1 kB / 0.5309 GB, free: 10.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.621, allocations: 112.7 kB / 0.531 GB, free: 10.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.6213, allocations: 317.9 kB / 0.5313 GB, free: 10.1 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.6213, allocations: 30.98 kB / 0.5313 GB, free: 10.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.6215, allocations: 210.8 kB / 0.5315 GB, free: 9.926 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.6215, allocations: 44.27 kB / 0.5316 GB, free: 9.895 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.234e-05/0.6215, allocations: 10.06 kB / 0.5316 GB, free: 9.891 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.968e-05/0.6216, allocations: 336.5 kB / 0.5319 GB, free: 9.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/0.6218, allocations: 95.33 kB / 0.532 GB, free: 9.551 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003088/0.6222, allocations: 216.1 kB / 0.5322 GB, free: 9.379 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/0.6224, allocations: 122.3 kB / 0.5323 GB, free: 9.355 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.6224, allocations: 2.969 kB / 0.5323 GB, free: 9.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006316/0.6231, allocations: 336.3 kB / 0.5326 GB, free: 9.266 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.6231, allocations: 9.594 kB / 0.5326 GB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.6231, allocations: 3.531 kB / 0.5326 GB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.6231, allocations: 6.688 kB / 0.5326 GB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.6234, allocations: 71.23 kB / 0.5327 GB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.6234, allocations: 9.781 kB / 0.5327 GB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002572/0.6237, allocations: 57.77 kB / 0.5328 GB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.6237, allocations: 12.98 kB / 0.5328 GB, free: 9.219 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.0001353/0.6239, allocations: 154.3 kB / 0.5329 GB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.223e-05/0.6239, allocations: 31 kB / 0.533 GB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/0.6249, allocations: 0.7802 MB / 0.5337 GB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.625, allocations: 7.984 kB / 0.5337 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.625, allocations: 0 / 0.5337 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.625, allocations: 4 kB / 0.5337 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004495/0.6254, allocations: 0.5307 MB / 0.5343 GB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.6255, allocations: 0 / 0.5343 GB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/0.6256, allocations: 55.14 kB / 0.5343 GB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.6257, allocations: 0 / 0.5343 GB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.6257, allocations: 0 / 0.5343 GB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.6257, allocations: 4 kB / 0.5343 GB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.6257, allocations: 0 / 0.5343 GB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005907/0.6263, allocations: 495.6 kB / 0.5348 GB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.6264, allocations: 185.4 kB / 0.535 GB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.023e-05/0.6265, allocations: 0 / 0.535 GB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.6267, allocations: 31.23 kB / 0.535 GB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.78e-05/0.6268, allocations: 26.81 kB / 0.535 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.6268, allocations: 7.984 kB / 0.535 GB, free: 7.668 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002998/0.6271, allocations: 338 kB / 0.5354 GB, free: 7.414 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6271, allocations: 0 / 0.5354 GB, free: 7.414 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003138/0.6302, allocations: 0.8443 MB / 0.5362 GB, free: 6.605 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.004566/0.6348, allocations: 1.896 MB / 0.538 GB, free: 4.875 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006352/0.6355, allocations: 302.6 kB / 0.5383 GB, free: 4.656 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.6355, allocations: 0 / 0.5383 GB, free: 4.656 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002574/0.6357, allocations: 172 kB / 0.5385 GB, free: 4.551 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008999/0.6367, allocations: 176.6 kB / 0.5387 GB, free: 4.418 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00409/0.6408, allocations: 2.571 MB / 0.5412 GB, free: 2.082 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.6411, allocations: 0.8423 MB / 0.542 GB, free: 1.219 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003478/0.6414, allocations: 141.9 kB / 0.5421 GB, free: 1.086 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/0.6416, allocations: 153.4 kB / 0.5423 GB, free: 1.043 MB / 382.1 MB Notification: Performance of SimCode: time 2.134e-06/0.6416, allocations: 4 kB / 0.5423 GB, free: 1.039 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07111/0.7128, allocations: 38.88 MB / 0.5802 GB, free: 10.52 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002098/0.713, allocations: 252.8 kB / 0.5805 GB, free: 10.18 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.872/4.585, allocations: 0 / 0.5805 GB, free: 10.18 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