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.001936/0.001936, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001533/0.001533, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.492/1.492, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.2343/0.2343, allocations: 44.91 MB / 359.6 MB, free: 6.27 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.002176/0.002176, allocations: 67.91 kB / 0.4939 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3461, allocations: 65.48 MB / 0.5578 GB, free: 7.363 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03801/0.3841, allocations: 30.62 MB / 0.5877 GB, free: 8.895 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02176/0.4059, allocations: 15.68 MB / 0.603 GB, free: 9.168 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004505/0.4063, allocations: 15.81 kB / 0.603 GB, free: 9.152 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008659/0.4072, allocations: 218.6 kB / 0.6032 GB, free: 8.938 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007914/0.408, allocations: 270.4 kB / 0.6035 GB, free: 8.672 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01675/0.4247, allocations: 5.677 MB / 0.609 GB, free: 3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001492/0.4262, allocations: 0.8265 MB / 0.6098 GB, free: 2.172 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000518/0.4267, allocations: 189 kB / 0.61 GB, free: 1.984 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01267/0.4394, allocations: 5.52 MB / 0.6154 GB, free: 12.38 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005783/0.44, allocations: 250.9 kB / 0.6156 GB, free: 12.14 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.791e-05/0.4401, allocations: 28 kB / 0.6157 GB, free: 12.11 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01271/0.4528, allocations: 6.1 MB / 0.6216 GB, free: 6.004 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002311/0.453, allocations: 95.67 kB / 0.6217 GB, free: 5.91 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003722/0.4534, allocations: 191.1 kB / 0.6219 GB, free: 5.723 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009225/0.4626, allocations: 3.679 MB / 0.6255 GB, free: 2.035 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.828e-06/0.4626, allocations: 4 kB / 0.6255 GB, free: 2.031 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.4626, allocations: 0 / 0.6255 GB, free: 2.031 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.4626, allocations: 0 / 0.6255 GB, free: 2.031 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.002633/0.4653, allocations: 0.9431 MB / 0.6264 GB, free: 1.055 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.4653, allocations: 19.97 kB / 0.6264 GB, free: 1.035 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.291e-05/0.4653, allocations: 8.688 kB / 0.6264 GB, free: 1.027 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.387e-05/0.4654, allocations: 66.72 kB / 0.6265 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.4664, allocations: 116.5 kB / 0.6266 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005475/0.467, allocations: 281 kB / 0.6269 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.196e-05/0.467, allocations: 20.88 kB / 0.6269 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.348e-05/0.4671, allocations: 31.88 kB / 0.6269 GB, free: 492 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.4682, allocations: 450.1 kB / 0.6274 GB, free: 4 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.4682, allocations: 4 kB / 0.6274 GB, free: 0 / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.914e-05/0.4683, allocations: 12.08 kB / 0.6274 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.4683, allocations: 8 kB / 0.6274 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.4695, allocations: 369.3 kB / 0.6277 GB, free: 15.62 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003299/0.4728, allocations: 2.19 MB / 0.6299 GB, free: 13.26 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.4739, allocations: 270.3 kB / 0.6301 GB, free: 12.98 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002949/0.4742, allocations: 96.73 kB / 0.6302 GB, free: 12.89 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000276/0.4744, allocations: 103.9 kB / 0.6303 GB, free: 12.79 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.4745, allocations: 34.56 kB / 0.6304 GB, free: 12.74 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 1.267e-05/0.4745, allocations: 0 / 0.6304 GB, free: 12.74 MB / 478.1 MB Notification: Performance of matching and sorting (n=12): time 0.001809/0.4763, allocations: 449 kB / 0.6308 GB, free: 12.3 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.315e-05/0.4764, allocations: 107 kB / 0.6309 GB, free: 12.17 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003968/0.4768, allocations: 328.4 kB / 0.6312 GB, free: 11.84 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.4768, allocations: 33.64 kB / 0.6312 GB, free: 11.8 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.477, allocations: 211.9 kB / 0.6314 GB, free: 11.58 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.477, allocations: 39.69 kB / 0.6315 GB, free: 11.54 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.4771, allocations: 53.66 kB / 0.6315 GB, free: 11.48 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.4773, allocations: 342.8 kB / 0.6319 GB, free: 11.14 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002921/0.4776, allocations: 87.88 kB / 0.6319 GB, free: 11.05 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003936/0.478, allocations: 207.4 kB / 0.6321 GB, free: 10.8 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006637/0.4786, allocations: 277.9 kB / 0.6324 GB, free: 10.48 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4786, allocations: 3.938 kB / 0.6324 GB, free: 10.47 MB / 478.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008023/0.4794, allocations: 321 kB / 0.6327 GB, free: 10.15 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.4795, allocations: 8.469 kB / 0.6327 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.4795, allocations: 8 kB / 0.6327 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.4795, allocations: 7.938 kB / 0.6327 GB, free: 10.13 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/0.4798, allocations: 59.89 kB / 0.6328 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/0.4798, allocations: 11.98 kB / 0.6328 GB, free: 10.06 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002527/0.4801, allocations: 47.7 kB / 0.6329 GB, free: 10.01 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/0.4801, allocations: 12 kB / 0.6329 GB, free: 10 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.0001953/0.4803, allocations: 161.7 kB / 0.633 GB, free: 9.832 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.395e-05/0.4803, allocations: 35.75 kB / 0.6331 GB, free: 9.797 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.4816, allocations: 0.7567 MB / 0.6338 GB, free: 9.031 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.865e-05/0.4816, allocations: 23.91 kB / 0.6338 GB, free: 9.008 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4816, allocations: 0 / 0.6338 GB, free: 9.008 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.4816, allocations: 0 / 0.6338 GB, free: 9.008 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006534/0.4823, allocations: 0.5096 MB / 0.6343 GB, free: 8.457 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.4823, allocations: 4 kB / 0.6343 GB, free: 8.453 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.4825, allocations: 39.95 kB / 0.6344 GB, free: 8.414 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.4825, allocations: 0 / 0.6344 GB, free: 8.414 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.4825, allocations: 4 kB / 0.6344 GB, free: 8.41 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/0.4825, allocations: 15.88 kB / 0.6344 GB, free: 8.395 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4826, allocations: 0 / 0.6344 GB, free: 8.395 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008264/0.4834, allocations: 469.9 kB / 0.6348 GB, free: 7.918 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.343e-05/0.4835, allocations: 43.56 kB / 0.6349 GB, free: 7.875 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.853e-05/0.4835, allocations: 35.73 kB / 0.6349 GB, free: 7.84 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/0.4837, allocations: 15.92 kB / 0.6349 GB, free: 7.824 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.668e-05/0.4838, allocations: 19.97 kB / 0.6349 GB, free: 7.805 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.4838, allocations: 7.984 kB / 0.6349 GB, free: 7.797 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004512/0.4843, allocations: 342.9 kB / 0.6353 GB, free: 7.461 MB / 478.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4843, allocations: 0 / 0.6353 GB, free: 7.461 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002601/0.4869, allocations: 0.85 MB / 0.6361 GB, free: 6.609 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.005101/0.492, allocations: 1.887 MB / 0.6379 GB, free: 4.695 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000824/0.4928, allocations: 267.6 kB / 0.6382 GB, free: 4.434 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.4928, allocations: 0.9375 kB / 0.6382 GB, free: 4.434 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003269/0.4931, allocations: 143.9 kB / 0.6383 GB, free: 4.293 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.4943, allocations: 199.2 kB / 0.6385 GB, free: 4.105 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007435/0.5017, allocations: 4.029 MB / 0.6425 GB, free: 15.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005842/0.5023, allocations: 0.8461 MB / 0.6433 GB, free: 15.03 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004178/0.5027, allocations: 141.2 kB / 0.6434 GB, free: 14.89 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002538/0.5029, allocations: 159.4 kB / 0.6436 GB, free: 14.74 MB / 494.1 MB Notification: Performance of SimCode: time 8.71e-07/0.5029, allocations: 8 kB / 0.6436 GB, free: 14.73 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08599/0.5889, allocations: 39.49 MB / 0.6821 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/14.21, allocations: 15.91 kB / 0.6822 GB, free: 7.406 MB / 0.5137 GB " [Timeout remaining time 646] (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.29984215600416] Failed to read output from testmodel.py, exit status != 0: ['time', 'specificEnthalpy.h_out', 'specificEnthalpy1.h_out'] 14.41231478494592 14.441273335 13.972608221 Calling exit ...