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.001413/0.001413, allocations: 105.8 kB / 19.74 MB, free: 2.566 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.001583/0.001583, allocations: 221 kB / 22.92 MB, free: 5.531 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.27/1.27, allocations: 230.2 MB / 256.1 MB, free: 8.758 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.1934/0.1934, allocations: 46.89 MB / 359.3 MB, free: 4.98 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.002117/0.002117, allocations: 83.86 kB / 0.494 GB, free: 9.098 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2479, allocations: 65.97 MB / 0.5584 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03089/0.2788, allocations: 30.61 MB / 0.5883 GB, free: 6.504 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01734/0.2962, allocations: 15.68 MB / 0.6036 GB, free: 6.773 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002356/0.2964, allocations: 7.938 kB / 0.6036 GB, free: 6.766 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005811/0.297, allocations: 218.6 kB / 0.6038 GB, free: 6.551 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005186/0.2975, allocations: 274.4 kB / 0.6041 GB, free: 6.281 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01249/0.31, allocations: 5.658 MB / 0.6096 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001046/0.3111, allocations: 0.8225 MB / 0.6104 GB, free: 15.81 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000316/0.3114, allocations: 188.8 kB / 0.6106 GB, free: 15.62 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01159/0.323, allocations: 5.501 MB / 0.616 GB, free: 10.04 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000364/0.3233, allocations: 250.9 kB / 0.6162 GB, free: 9.789 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.329e-05/0.3234, allocations: 28 kB / 0.6162 GB, free: 9.762 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01029/0.3337, allocations: 6.096 MB / 0.6222 GB, free: 3.66 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.3338, allocations: 91.67 kB / 0.6223 GB, free: 3.57 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002342/0.334, allocations: 187.1 kB / 0.6224 GB, free: 3.387 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005451/0.3395, allocations: 3.679 MB / 0.626 GB, free: 15.7 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3395, allocations: 0 / 0.626 GB, free: 15.7 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3395, allocations: 0 / 0.626 GB, free: 15.7 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.822e-06/0.3395, allocations: 0 / 0.626 GB, free: 15.7 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.001872/0.3414, allocations: 1.026 MB / 0.627 GB, free: 14.62 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.3414, allocations: 11.97 kB / 0.6271 GB, free: 14.61 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.69e-05/0.3415, allocations: 62.67 kB / 0.6271 GB, free: 14.54 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009019/0.3424, allocations: 124.6 kB / 0.6272 GB, free: 14.42 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004409/0.3428, allocations: 346.8 kB / 0.6276 GB, free: 14.04 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.3428, allocations: 20.94 kB / 0.6276 GB, free: 14.02 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.838e-05/0.3429, allocations: 28.12 kB / 0.6276 GB, free: 13.99 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.3439, allocations: 454.9 kB / 0.628 GB, free: 13.51 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3439, allocations: 0 / 0.628 GB, free: 13.51 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.25e-05/0.344, allocations: 16 kB / 0.6281 GB, free: 13.49 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.344, allocations: 8 kB / 0.6281 GB, free: 13.48 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.345, allocations: 361.3 kB / 0.6284 GB, free: 13.13 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002839/0.3479, allocations: 2.384 MB / 0.6307 GB, free: 10.54 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009856/0.3488, allocations: 266.3 kB / 0.631 GB, free: 10.27 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/0.3491, allocations: 96.78 kB / 0.6311 GB, free: 10.17 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003986/0.3495, allocations: 477.5 kB / 0.6315 GB, free: 9.609 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.3495, allocations: 46.44 kB / 0.6316 GB, free: 9.555 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/0.3495, allocations: 0 / 0.6316 GB, free: 9.555 MB / 478.1 MB Notification: Performance of matching and sorting (n=12): time 0.001661/0.3512, allocations: 445.4 kB / 0.632 GB, free: 9.113 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.3513, allocations: 106.8 kB / 0.6321 GB, free: 8.984 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003287/0.3516, allocations: 328.7 kB / 0.6324 GB, free: 8.652 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.3516, allocations: 33.7 kB / 0.6325 GB, free: 8.613 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.3518, allocations: 215.9 kB / 0.6327 GB, free: 8.398 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/0.3518, allocations: 43.69 kB / 0.6327 GB, free: 8.355 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.489e-05/0.3519, allocations: 53.66 kB / 0.6328 GB, free: 8.297 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.352, allocations: 342.8 kB / 0.6331 GB, free: 7.953 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002635/0.3523, allocations: 79.94 kB / 0.6332 GB, free: 7.875 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003439/0.3526, allocations: 207.3 kB / 0.6334 GB, free: 7.617 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005797/0.3532, allocations: 285.5 kB / 0.6336 GB, free: 7.289 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3532, allocations: 0 / 0.6336 GB, free: 7.289 MB / 478.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007147/0.3539, allocations: 324.9 kB / 0.6339 GB, free: 6.965 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3539, allocations: 4.469 kB / 0.6339 GB, free: 6.961 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.3539, allocations: 4 kB / 0.6339 GB, free: 6.957 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.3539, allocations: 12 kB / 0.634 GB, free: 6.945 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.3542, allocations: 67.83 kB / 0.634 GB, free: 6.879 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.3542, allocations: 7.984 kB / 0.634 GB, free: 6.871 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.3544, allocations: 47.72 kB / 0.6341 GB, free: 6.824 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.3545, allocations: 12 kB / 0.6341 GB, free: 6.812 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.0001449/0.3546, allocations: 157.7 kB / 0.6342 GB, free: 6.648 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.341e-05/0.3547, allocations: 31.81 kB / 0.6343 GB, free: 6.617 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.3557, allocations: 0.7294 MB / 0.635 GB, free: 5.879 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.3557, allocations: 19.92 kB / 0.635 GB, free: 5.859 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3557, allocations: 0 / 0.635 GB, free: 5.859 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3557, allocations: 0 / 0.635 GB, free: 5.859 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005041/0.3563, allocations: 0.53 MB / 0.6355 GB, free: 5.281 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.3563, allocations: 0 / 0.6355 GB, free: 5.281 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002011/0.3565, allocations: 43.89 kB / 0.6356 GB, free: 5.238 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3565, allocations: 0 / 0.6356 GB, free: 5.238 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.3565, allocations: 8 kB / 0.6356 GB, free: 5.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3565, allocations: 3.938 kB / 0.6356 GB, free: 5.227 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3565, allocations: 4 kB / 0.6356 GB, free: 5.223 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006802/0.3572, allocations: 467 kB / 0.636 GB, free: 4.75 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.067e-05/0.3572, allocations: 116.8 kB / 0.6361 GB, free: 4.617 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.896e-05/0.3573, allocations: 35.73 kB / 0.6362 GB, free: 4.582 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.3575, allocations: 15.92 kB / 0.6362 GB, free: 4.566 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.192e-05/0.3576, allocations: 19.97 kB / 0.6362 GB, free: 4.547 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.3576, allocations: 4 kB / 0.6362 GB, free: 4.543 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003529/0.3579, allocations: 346.8 kB / 0.6365 GB, free: 4.203 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3579, allocations: 0 / 0.6365 GB, free: 4.203 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001977/0.3599, allocations: 0.8499 MB / 0.6374 GB, free: 3.352 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.003865/0.3638, allocations: 1.909 MB / 0.6392 GB, free: 1.418 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006464/0.3644, allocations: 260.6 kB / 0.6395 GB, free: 1.164 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3644, allocations: 0 / 0.6395 GB, free: 1.164 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002741/0.3647, allocations: 143.8 kB / 0.6396 GB, free: 1.023 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000866/0.3656, allocations: 181.6 kB / 0.6398 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005477/0.371, allocations: 4.02 MB / 0.6437 GB, free: 12.66 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.3714, allocations: 0.85 MB / 0.6445 GB, free: 11.78 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002765/0.3717, allocations: 146.8 kB / 0.6447 GB, free: 11.64 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/0.3719, allocations: 163.4 kB / 0.6448 GB, free: 11.48 MB / 494.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3719, allocations: 3.938 kB / 0.6448 GB, free: 11.47 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06628/0.4382, allocations: 39.12 MB / 0.683 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.298/9.736, allocations: 15.81 kB / 0.6831 GB, free: 4.43 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.188150978996418]