Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001835/0.001835, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002979/0.002979, allocations: 211.8 kB / 24.51 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.543/1.543, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2549/0.2549, allocations: 46.96 MB / 361.7 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 71.89 kB / 0.4969 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3781, allocations: 66.03 MB / 0.5614 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.0353/0.4134, allocations: 27.66 MB / 0.5884 GB, free: 8.492 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01886/0.4323, allocations: 13.83 MB / 0.6019 GB, free: 10.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004252/0.4327, allocations: 15.88 kB / 0.6019 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007486/0.4334, allocations: 198.7 kB / 0.6021 GB, free: 10.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007339/0.4342, allocations: 278.4 kB / 0.6023 GB, free: 10.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01603/0.4502, allocations: 5.602 MB / 0.6078 GB, free: 4.543 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001226/0.4514, allocations: 0.8226 MB / 0.6086 GB, free: 3.719 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003661/0.4518, allocations: 189 kB / 0.6088 GB, free: 3.531 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01332/0.4651, allocations: 5.502 MB / 0.6142 GB, free: 13.94 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005142/0.4656, allocations: 251 kB / 0.6144 GB, free: 13.7 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.005e-05/0.4657, allocations: 28 kB / 0.6144 GB, free: 13.67 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01201/0.4777, allocations: 6.068 MB / 0.6204 GB, free: 7.594 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002237/0.4779, allocations: 99.66 kB / 0.6205 GB, free: 7.496 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003274/0.4782, allocations: 151.4 kB / 0.6206 GB, free: 7.348 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01022/0.4885, allocations: 3.679 MB / 0.6242 GB, free: 3.66 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.4885, allocations: 0 / 0.6242 GB, free: 3.66 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.4885, allocations: 3.938 kB / 0.6242 GB, free: 3.656 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.4885, allocations: 0 / 0.6242 GB, free: 3.656 MB / 462.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.002766/0.4913, allocations: 0.947 MB / 0.6251 GB, free: 2.676 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.4913, allocations: 8.031 kB / 0.6251 GB, free: 2.668 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.558e-05/0.4913, allocations: 12.69 kB / 0.6251 GB, free: 2.656 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.485e-05/0.4914, allocations: 58.73 kB / 0.6252 GB, free: 2.59 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.4924, allocations: 120.6 kB / 0.6253 GB, free: 2.473 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005099/0.4929, allocations: 292.8 kB / 0.6256 GB, free: 2.164 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.484e-05/0.493, allocations: 24.81 kB / 0.6256 GB, free: 2.137 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.377e-05/0.493, allocations: 27.94 kB / 0.6256 GB, free: 2.109 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.4943, allocations: 0.5902 MB / 0.6262 GB, free: 1.445 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.4943, allocations: 7.938 kB / 0.6262 GB, free: 1.438 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.704e-05/0.4944, allocations: 12 kB / 0.6262 GB, free: 1.426 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.4944, allocations: 8 kB / 0.6262 GB, free: 1.418 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.4956, allocations: 365.3 kB / 0.6266 GB, free: 1.062 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003063/0.4986, allocations: 1.781 MB / 0.6283 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.4997, allocations: 274.3 kB / 0.6286 GB, free: 14.92 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003078/0.5, allocations: 84.8 kB / 0.6287 GB, free: 14.83 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002957/0.5003, allocations: 103.9 kB / 0.6288 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/0.5004, allocations: 42.56 kB / 0.6288 GB, free: 14.68 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 2.575e-06/0.5004, allocations: 0 / 0.6288 GB, free: 14.68 MB / 478.1 MB Notification: Performance of matching and sorting (n=12): time 0.0019/0.5023, allocations: 456.9 kB / 0.6292 GB, free: 14.23 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.635e-05/0.5024, allocations: 110.8 kB / 0.6294 GB, free: 14.09 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004329/0.5028, allocations: 324.4 kB / 0.6297 GB, free: 13.77 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.5028, allocations: 29.7 kB / 0.6297 GB, free: 13.73 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.503, allocations: 216.1 kB / 0.6299 GB, free: 13.51 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.424e-05/0.5031, allocations: 39.69 kB / 0.6299 GB, free: 13.47 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.5032, allocations: 61.64 kB / 0.63 GB, free: 13.41 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.5034, allocations: 334.8 kB / 0.6303 GB, free: 13.07 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002849/0.5037, allocations: 91.94 kB / 0.6304 GB, free: 12.98 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004093/0.5041, allocations: 254.7 kB / 0.6306 GB, free: 12.66 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006669/0.5047, allocations: 273.5 kB / 0.6309 GB, free: 12.35 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5047, allocations: 0 / 0.6309 GB, free: 12.35 MB / 478.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008349/0.5056, allocations: 324.9 kB / 0.6312 GB, free: 12.02 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.5056, allocations: 11.98 kB / 0.6312 GB, free: 12.01 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.5056, allocations: 4 kB / 0.6312 GB, free: 12.01 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.5056, allocations: 7.938 kB / 0.6312 GB, free: 12 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002973/0.5059, allocations: 64.36 kB / 0.6313 GB, free: 11.94 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.5059, allocations: 12 kB / 0.6313 GB, free: 11.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/0.5062, allocations: 39.72 kB / 0.6313 GB, free: 11.89 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/0.5062, allocations: 12 kB / 0.6314 GB, free: 11.88 MB / 478.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.0002039/0.5064, allocations: 157.7 kB / 0.6315 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.858e-05/0.5065, allocations: 31.81 kB / 0.6315 GB, free: 11.68 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001259/0.5078, allocations: 0.7723 MB / 0.6323 GB, free: 10.9 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/0.5078, allocations: 7.938 kB / 0.6323 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.5078, allocations: 0 / 0.6323 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.5078, allocations: 3.984 kB / 0.6323 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006089/0.5084, allocations: 489.9 kB / 0.6328 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.5084, allocations: 0 / 0.6328 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.5086, allocations: 43.95 kB / 0.6328 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.5086, allocations: 3.984 kB / 0.6328 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.5087, allocations: 4 kB / 0.6328 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.5087, allocations: 7.938 kB / 0.6328 GB, free: 10.31 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5087, allocations: 0 / 0.6328 GB, free: 10.31 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008259/0.5095, allocations: 478.6 kB / 0.6333 GB, free: 9.824 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.712e-05/0.5096, allocations: 43.62 kB / 0.6333 GB, free: 9.781 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.033e-05/0.5096, allocations: 27.73 kB / 0.6334 GB, free: 9.754 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.5098, allocations: 23.86 kB / 0.6334 GB, free: 9.73 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.5099, allocations: 15.97 kB / 0.6334 GB, free: 9.715 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.5099, allocations: 4 kB / 0.6334 GB, free: 9.711 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004273/0.5103, allocations: 350.8 kB / 0.6337 GB, free: 9.367 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5103, allocations: 0 / 0.6337 GB, free: 9.367 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002596/0.5129, allocations: 0.8461 MB / 0.6346 GB, free: 8.52 MB / 478.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.004917/0.5179, allocations: 1.888 MB / 0.6364 GB, free: 6.602 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007667/0.5186, allocations: 263.8 kB / 0.6367 GB, free: 6.344 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5186, allocations: 0 / 0.6367 GB, free: 6.344 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000312/0.5189, allocations: 139.9 kB / 0.6368 GB, free: 6.207 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009947/0.5199, allocations: 185.9 kB / 0.637 GB, free: 6.031 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006903/0.5268, allocations: 4.037 MB / 0.6409 GB, free: 1.82 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.5271, allocations: 243.7 kB / 0.6411 GB, free: 1.559 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003795/0.5275, allocations: 140.5 kB / 0.6413 GB, free: 1.422 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/0.5277, allocations: 163.4 kB / 0.6414 GB, free: 1.262 MB / 478.1 MB Notification: Performance of SimCode: time 8.32e-07/0.5277, allocations: 0 / 0.6414 GB, free: 1.262 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07862/0.6063, allocations: 39.97 MB / 0.6805 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.8/14.4, allocations: 7.188 kB / 0.6805 GB, free: 9.543 MB / 0.5137 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201597 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.629786177072674] Failed to read output from testmodel.py, exit status != 0: ['time', 'specificEnthalpy.h_out', 'specificEnthalpy1.h_out'] 14.597252395004034 14.613947646 14.121865303 Calling exit ...