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.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.001749/0.001749, allocations: 107.5 kB / 21.21 MB, free: 0.6523 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.001905/0.001905, allocations: 212.5 kB / 24.51 MB, free: 3.941 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.458/1.458, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2282/0.2282, allocations: 44.93 MB / 359.6 MB, free: 6.055 MB / 286.1 MB " [Timeout remaining time 180] 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.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_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 63.91 kB / 0.4938 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3421, allocations: 65.47 MB / 0.5577 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03377/0.3758, allocations: 27.66 MB / 0.5847 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01997/0.3958, allocations: 13.83 MB / 0.5982 GB, free: 13.92 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004031/0.3962, allocations: 15.88 kB / 0.5983 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000748/0.397, allocations: 198.7 kB / 0.5985 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007162/0.3977, allocations: 278.4 kB / 0.5987 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01587/0.4135, allocations: 5.599 MB / 0.6042 GB, free: 7.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001348/0.4149, allocations: 0.8265 MB / 0.605 GB, free: 7.012 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004384/0.4153, allocations: 193 kB / 0.6052 GB, free: 6.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01418/0.4295, allocations: 5.505 MB / 0.6106 GB, free: 1.234 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005107/0.43, allocations: 243 kB / 0.6108 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.322e-05/0.4301, allocations: 28 kB / 0.6108 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0116/0.4417, allocations: 6.076 MB / 0.6167 GB, free: 10.88 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001828/0.4419, allocations: 87.72 kB / 0.6168 GB, free: 10.8 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002732/0.4421, allocations: 155.3 kB / 0.617 GB, free: 10.64 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008793/0.4509, allocations: 3.679 MB / 0.6206 GB, free: 6.957 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.4509, allocations: 0 / 0.6206 GB, free: 6.957 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.4509, allocations: 0 / 0.6206 GB, free: 6.957 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.338e-06/0.4509, allocations: 0 / 0.6206 GB, free: 6.957 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.002771/0.4537, allocations: 0.9547 MB / 0.6215 GB, free: 5.969 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.4538, allocations: 12.03 kB / 0.6215 GB, free: 5.957 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.256e-05/0.4538, allocations: 4.688 kB / 0.6215 GB, free: 5.953 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.389e-05/0.4539, allocations: 58.73 kB / 0.6216 GB, free: 5.887 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.4549, allocations: 124.6 kB / 0.6217 GB, free: 5.766 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006011/0.4555, allocations: 280.9 kB / 0.622 GB, free: 5.461 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.313e-05/0.4555, allocations: 24.88 kB / 0.622 GB, free: 5.434 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.512e-05/0.4556, allocations: 27.94 kB / 0.622 GB, free: 5.406 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.457, allocations: 0.5902 MB / 0.6226 GB, free: 4.742 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.457, allocations: 3.938 kB / 0.6226 GB, free: 4.738 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.748e-05/0.457, allocations: 12 kB / 0.6226 GB, free: 4.727 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.659e-06/0.457, allocations: 8 kB / 0.6226 GB, free: 4.719 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.4582, allocations: 373.2 kB / 0.623 GB, free: 4.355 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003238/0.4614, allocations: 1.777 MB / 0.6247 GB, free: 2.492 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.4625, allocations: 274.3 kB / 0.625 GB, free: 2.215 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002899/0.4628, allocations: 88.8 kB / 0.625 GB, free: 2.125 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000294/0.4631, allocations: 115.9 kB / 0.6252 GB, free: 2.012 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.4632, allocations: 30.56 kB / 0.6252 GB, free: 1.973 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 1.823e-06/0.4632, allocations: 0 / 0.6252 GB, free: 1.973 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.001851/0.465, allocations: 461.1 kB / 0.6256 GB, free: 1.516 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.019e-05/0.4651, allocations: 106.8 kB / 0.6257 GB, free: 1.387 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003848/0.4655, allocations: 328.4 kB / 0.626 GB, free: 1.055 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.4655, allocations: 25.7 kB / 0.6261 GB, free: 1.023 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.4657, allocations: 211.9 kB / 0.6263 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.14e-05/0.4657, allocations: 43.67 kB / 0.6263 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.4658, allocations: 61.64 kB / 0.6264 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.466, allocations: 342.8 kB / 0.6267 GB, free: 364 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002845/0.4663, allocations: 79.94 kB / 0.6268 GB, free: 284 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004298/0.4667, allocations: 254.7 kB / 0.627 GB, free: 15.96 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006326/0.4673, allocations: 281.4 kB / 0.6273 GB, free: 15.64 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.4673, allocations: 4 kB / 0.6273 GB, free: 15.63 MB / 478.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008694/0.4682, allocations: 309.5 kB / 0.6276 GB, free: 15.32 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.4682, allocations: 15.92 kB / 0.6276 GB, free: 15.31 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.4682, allocations: 4 kB / 0.6276 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.4683, allocations: 8.406 kB / 0.6276 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/0.4685, allocations: 71.89 kB / 0.6277 GB, free: 15.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/0.4686, allocations: 4 kB / 0.6277 GB, free: 15.22 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002539/0.4688, allocations: 43.72 kB / 0.6277 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.674e-05/0.4688, allocations: 12 kB / 0.6277 GB, free: 15.17 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.00019/0.469, allocations: 153.7 kB / 0.6279 GB, free: 15.01 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.872e-05/0.4691, allocations: 35.75 kB / 0.6279 GB, free: 14.97 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/0.4704, allocations: 0.7723 MB / 0.6287 GB, free: 14.19 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.4704, allocations: 7.938 kB / 0.6287 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4704, allocations: 3.938 kB / 0.6287 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.4704, allocations: 3.984 kB / 0.6287 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000611/0.471, allocations: 481.9 kB / 0.6291 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.471, allocations: 4 kB / 0.6291 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.4713, allocations: 47.95 kB / 0.6292 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.4713, allocations: 0 / 0.6292 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.4713, allocations: 4 kB / 0.6292 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.4713, allocations: 3.938 kB / 0.6292 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4713, allocations: 0 / 0.6292 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008392/0.4721, allocations: 477.9 kB / 0.6297 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.311e-05/0.4722, allocations: 47.62 kB / 0.6297 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.758e-05/0.4723, allocations: 27.73 kB / 0.6297 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.4725, allocations: 19.92 kB / 0.6297 GB, free: 13.03 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.896e-05/0.4726, allocations: 15.97 kB / 0.6298 GB, free: 13.01 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.4726, allocations: 8 kB / 0.6298 GB, free: 13 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004324/0.473, allocations: 342.8 kB / 0.6301 GB, free: 12.67 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.473, allocations: 4 kB / 0.6301 GB, free: 12.66 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00306/0.4761, allocations: 0.8461 MB / 0.6309 GB, free: 11.82 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.00574/0.4818, allocations: 1.895 MB / 0.6328 GB, free: 9.895 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009025/0.4827, allocations: 259.8 kB / 0.633 GB, free: 9.641 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.4827, allocations: 0 / 0.633 GB, free: 9.641 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003256/0.4831, allocations: 152.7 kB / 0.6332 GB, free: 9.496 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.4842, allocations: 183.3 kB / 0.6333 GB, free: 9.316 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007814/0.492, allocations: 4.025 MB / 0.6373 GB, free: 5.117 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.4923, allocations: 251.7 kB / 0.6375 GB, free: 4.848 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004202/0.4927, allocations: 148.2 kB / 0.6377 GB, free: 4.707 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002543/0.4929, allocations: 163.4 kB / 0.6378 GB, free: 4.547 MB / 478.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4929, allocations: 0 / 0.6378 GB, free: 4.547 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08128/0.5742, allocations: 39.96 MB / 0.6768 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.79/14.37, allocations: 4.062 kB / 0.6768 GB, free: 12.84 MB / 0.5137 GB " [Timeout remaining time 645] (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/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 --stepSize=0.000201597 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.398889720090665] Failed to read output from testmodel.py, exit status != 0: ['time', 'specificEnthalpy.h_out', 'specificEnthalpy1.h_out'] 14.566740897018462 14.585486079 14.131030118 Calling exit ...