Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001405/0.001405, allocations: 105 kB / 19.74 MB, free: 2.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001539/0.001539, allocations: 218.5 kB / 22.92 MB, free: 5.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.277/1.277, allocations: 230.2 MB / 256.2 MB, free: 8.57 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.1912/0.1912, allocations: 46.9 MB / 359.3 MB, free: 4.941 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 83.88 kB / 0.494 GB, free: 9.082 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2463, allocations: 65.98 MB / 0.5584 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.02993/0.2762, allocations: 30.61 MB / 0.5883 GB, free: 6.473 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01712/0.2934, allocations: 15.67 MB / 0.6036 GB, free: 6.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002355/0.2936, allocations: 11.94 kB / 0.6036 GB, free: 6.738 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005766/0.2942, allocations: 218.6 kB / 0.6038 GB, free: 6.523 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005108/0.2947, allocations: 270.4 kB / 0.6041 GB, free: 6.258 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01209/0.3068, allocations: 5.648 MB / 0.6096 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009114/0.3077, allocations: 0.8226 MB / 0.6104 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002954/0.308, allocations: 192.8 kB / 0.6106 GB, free: 15.6 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009415/0.3174, allocations: 5.505 MB / 0.616 GB, free: 10.01 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003207/0.3177, allocations: 243 kB / 0.6162 GB, free: 9.773 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.29e-05/0.3177, allocations: 28 kB / 0.6162 GB, free: 9.746 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009664/0.3274, allocations: 6.099 MB / 0.6222 GB, free: 3.641 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.3275, allocations: 95.66 kB / 0.6223 GB, free: 3.547 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000196/0.3277, allocations: 183.1 kB / 0.6224 GB, free: 3.367 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004957/0.3327, allocations: 3.675 MB / 0.626 GB, free: 15.68 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.3327, allocations: 0 / 0.626 GB, free: 15.68 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3327, allocations: 4 kB / 0.626 GB, free: 15.68 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.3327, allocations: 0 / 0.626 GB, free: 15.68 MB / 478.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.001782/0.3345, allocations: 1.032 MB / 0.627 GB, free: 14.59 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.3345, allocations: 12.03 kB / 0.6271 GB, free: 14.58 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.252e-05/0.3346, allocations: 66.72 kB / 0.6271 GB, free: 14.51 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008801/0.3355, allocations: 116.6 kB / 0.6272 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000424/0.3359, allocations: 346.7 kB / 0.6276 GB, free: 14.02 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.3359, allocations: 20.94 kB / 0.6276 GB, free: 14 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.675e-05/0.336, allocations: 28.12 kB / 0.6276 GB, free: 13.97 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.337, allocations: 458.9 kB / 0.628 GB, free: 13.48 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.337, allocations: 0 / 0.628 GB, free: 13.48 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.187e-05/0.337, allocations: 16 kB / 0.6281 GB, free: 13.46 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.337, allocations: 8 kB / 0.6281 GB, free: 13.46 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.3381, allocations: 369.3 kB / 0.6284 GB, free: 13.09 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002776/0.3409, allocations: 2.372 MB / 0.6307 GB, free: 10.51 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009593/0.3418, allocations: 266.3 kB / 0.631 GB, free: 10.24 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002594/0.3421, allocations: 92.78 kB / 0.6311 GB, free: 10.14 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004005/0.3425, allocations: 489.4 kB / 0.6315 GB, free: 9.574 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.3425, allocations: 34.55 kB / 0.6316 GB, free: 9.531 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.3425, allocations: 3.938 kB / 0.6316 GB, free: 9.527 MB / 478.1 MB Notification: Performance of matching and sorting (n=12): time 0.001604/0.3441, allocations: 445.1 kB / 0.632 GB, free: 9.086 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.914e-05/0.3442, allocations: 115 kB / 0.6321 GB, free: 8.949 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003201/0.3445, allocations: 328.4 kB / 0.6324 GB, free: 8.617 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.3445, allocations: 29.64 kB / 0.6325 GB, free: 8.582 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.3447, allocations: 212 kB / 0.6327 GB, free: 8.371 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.276e-05/0.3447, allocations: 35.69 kB / 0.6327 GB, free: 8.336 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.744e-05/0.3448, allocations: 65.58 kB / 0.6328 GB, free: 8.266 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.3449, allocations: 338.8 kB / 0.6331 GB, free: 7.926 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002653/0.3452, allocations: 87.92 kB / 0.6332 GB, free: 7.84 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003419/0.3455, allocations: 203.3 kB / 0.6334 GB, free: 7.586 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005703/0.3461, allocations: 281.9 kB / 0.6336 GB, free: 7.262 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.3461, allocations: 3.984 kB / 0.6336 GB, free: 7.258 MB / 478.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000705/0.3468, allocations: 329.3 kB / 0.6339 GB, free: 6.93 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.3468, allocations: 8 kB / 0.634 GB, free: 6.922 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3468, allocations: 4 kB / 0.634 GB, free: 6.918 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.3468, allocations: 4 kB / 0.634 GB, free: 6.914 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.3471, allocations: 67.83 kB / 0.634 GB, free: 6.848 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.3471, allocations: 8 kB / 0.634 GB, free: 6.84 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/0.3473, allocations: 43.72 kB / 0.6341 GB, free: 6.797 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.3473, allocations: 19.98 kB / 0.6341 GB, free: 6.777 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.0001418/0.3475, allocations: 153.8 kB / 0.6342 GB, free: 6.617 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.2e-05/0.3475, allocations: 31.81 kB / 0.6343 GB, free: 6.586 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/0.3486, allocations: 0.7411 MB / 0.635 GB, free: 5.836 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/0.3486, allocations: 15.92 kB / 0.635 GB, free: 5.82 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3486, allocations: 0 / 0.635 GB, free: 5.82 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.3486, allocations: 0 / 0.635 GB, free: 5.82 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005085/0.3491, allocations: 0.5261 MB / 0.6355 GB, free: 5.246 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3491, allocations: 0 / 0.6355 GB, free: 5.246 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/0.3493, allocations: 43.95 kB / 0.6356 GB, free: 5.203 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.3493, allocations: 4 kB / 0.6356 GB, free: 5.199 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.3493, allocations: 4 kB / 0.6356 GB, free: 5.195 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.3493, allocations: 3.938 kB / 0.6356 GB, free: 5.191 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3493, allocations: 0 / 0.6356 GB, free: 5.191 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006842/0.35, allocations: 471 kB / 0.636 GB, free: 4.715 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.455e-05/0.3501, allocations: 116.7 kB / 0.6361 GB, free: 4.582 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.86e-05/0.3502, allocations: 31.73 kB / 0.6362 GB, free: 4.551 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.3504, allocations: 19.86 kB / 0.6362 GB, free: 4.531 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.921e-05/0.3504, allocations: 19.97 kB / 0.6362 GB, free: 4.512 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.3504, allocations: 4 kB / 0.6362 GB, free: 4.508 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000349/0.3508, allocations: 342.9 kB / 0.6365 GB, free: 4.172 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3508, allocations: 4 kB / 0.6365 GB, free: 4.168 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001915/0.3527, allocations: 0.8577 MB / 0.6374 GB, free: 3.309 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.003862/0.3566, allocations: 1.895 MB / 0.6392 GB, free: 1.391 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006446/0.3572, allocations: 264.7 kB / 0.6395 GB, free: 1.133 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.3572, allocations: 4 kB / 0.6395 GB, free: 1.129 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002643/0.3575, allocations: 127.9 kB / 0.6396 GB, free: 1.004 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008527/0.3583, allocations: 191.8 kB / 0.6398 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005414/0.3638, allocations: 4.032 MB / 0.6437 GB, free: 12.61 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.3642, allocations: 0.8383 MB / 0.6445 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002704/0.3644, allocations: 142.8 kB / 0.6447 GB, free: 11.61 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/0.3646, allocations: 167.4 kB / 0.6448 GB, free: 11.45 MB / 494.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3646, allocations: 0 / 0.6448 GB, free: 11.45 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06684/0.4315, allocations: 39.13 MB / 0.6831 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.404/9.836, allocations: 12 kB / 0.6831 GB, free: 4.391 MB / 0.5137 GB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201597 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.289699068001937]