Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.001703/0.001703, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002114/0.002114, allocations: 217.1 kB / 22.26 MB, free: 5.125 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002583/0.002583, allocations: 289.7 kB / 312.7 MB, free: 2.82 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.228/1.228, allocations: 180.6 MB / 0.5369 GB, free: 13.02 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003072/0.003072, allocations: 103.4 kB / 0.7396 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2441, allocations: 95.38 MB / 0.8328 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.00735/0.2514, allocations: 4.172 MB / 0.8369 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003804/0.2552, allocations: 2.461 MB / 0.8393 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001571/0.2554, allocations: 4 kB / 0.8393 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000376/0.2557, allocations: 47.67 kB / 0.8393 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004209/0.2562, allocations: 99.36 kB / 0.8394 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001924/0.2581, allocations: 0.5477 MB / 0.8399 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005098/0.2586, allocations: 267.8 kB / 0.8402 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.197e-05/0.2587, allocations: 9.75 kB / 0.8402 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000296/0.259, allocations: 119.5 kB / 0.8403 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.2592, allocations: 95.64 kB / 0.8404 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.2592, allocations: 8 kB / 0.8404 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/0.2603, allocations: 483.2 kB / 0.8409 GB, free: 284 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.2604, allocations: 39.89 kB / 0.8409 GB, free: 244 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.2605, allocations: 79.66 kB / 0.841 GB, free: 164 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007682/0.2613, allocations: 431 kB / 0.8414 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2613, allocations: 0 / 0.8414 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.674e-06/0.2613, allocations: 0 / 0.8414 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.2613, allocations: 0 / 0.8414 GB, free: 15.73 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009979/0.2623, allocations: 445.4 kB / 0.8418 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.2624, allocations: 8.75 kB / 0.8418 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.735e-05/0.2624, allocations: 54.73 kB / 0.8419 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002129/0.2646, allocations: 184.6 kB / 0.8421 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003824/0.265, allocations: 162.1 kB / 0.8422 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.781e-05/0.265, allocations: 16.7 kB / 0.8422 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.478e-05/0.265, allocations: 16.38 kB / 0.8423 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007009/0.2657, allocations: 312.8 kB / 0.8426 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.2658, allocations: 7.875 kB / 0.8426 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.529e-05/0.2658, allocations: 8 kB / 0.8426 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.155e-05/0.2658, allocations: 4 kB / 0.8426 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000719/0.2665, allocations: 263.6 kB / 0.8428 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001965/0.2685, allocations: 1.357 MB / 0.8441 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006646/0.2692, allocations: 179.5 kB / 0.8443 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002482/0.2694, allocations: 72.81 kB / 0.8444 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.2694, allocations: 4 kB / 0.8444 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.2695, allocations: 46.56 kB / 0.8444 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=18): time 1.513e-06/0.2695, allocations: 0 / 0.8444 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18): time 0.0008089/0.2703, allocations: 242.9 kB / 0.8447 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/0.2703, allocations: 55.41 kB / 0.8447 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.2705, allocations: 160.7 kB / 0.8449 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.535e-05/0.2705, allocations: 29.7 kB / 0.8449 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.2707, allocations: 132.2 kB / 0.845 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.843e-05/0.2707, allocations: 67.45 kB / 0.8451 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.245e-05/0.2708, allocations: 49.88 kB / 0.8451 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.271, allocations: 330.8 kB / 0.8455 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.2712, allocations: 64.42 kB / 0.8455 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/0.2714, allocations: 147 kB / 0.8457 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004849/0.2719, allocations: 219.2 kB / 0.8459 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2719, allocations: 0 / 0.8459 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005888/0.2725, allocations: 253.3 kB / 0.8461 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.2725, allocations: 9.719 kB / 0.8461 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.2725, allocations: 4 kB / 0.8461 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.2726, allocations: 0 / 0.8461 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003796/0.2729, allocations: 63.89 kB / 0.8462 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.273, allocations: 4 kB / 0.8462 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002545/0.2732, allocations: 36.05 kB / 0.8462 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.2732, allocations: 15.98 kB / 0.8462 GB, free: 10.44 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.0001444/0.2734, allocations: 137.7 kB / 0.8464 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.267e-05/0.2734, allocations: 11.95 kB / 0.8464 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006495/0.2741, allocations: 233.2 kB / 0.8466 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.2741, allocations: 4 kB / 0.8466 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2741, allocations: 0 / 0.8466 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.2741, allocations: 3.938 kB / 0.8466 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003113/0.2744, allocations: 224.3 kB / 0.8468 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2744, allocations: 0 / 0.8468 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003116/0.2747, allocations: 43.97 kB / 0.8469 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.912e-06/0.2747, allocations: 4 kB / 0.8469 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.2747, allocations: 4 kB / 0.8469 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.2747, allocations: 0 / 0.8469 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.2748, allocations: 7.922 kB / 0.8469 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005712/0.2753, allocations: 299.2 kB / 0.8472 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.064e-05/0.2754, allocations: 27.88 kB / 0.8472 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.913e-05/0.2755, allocations: 8 kB / 0.8472 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002752/0.2757, allocations: 11.98 kB / 0.8472 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.2758, allocations: 15.97 kB / 0.8472 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.724e-05/0.2758, allocations: 12 kB / 0.8472 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001009/0.2759, allocations: 119.9 kB / 0.8474 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.2759, allocations: 4 kB / 0.8474 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003818/0.2763, allocations: 59.94 kB / 0.8474 GB, free: 9.16 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.001039/0.2773, allocations: 0.871 MB / 0.8483 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005447/0.2779, allocations: 172.1 kB / 0.8484 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.2779, allocations: 4 kB / 0.8484 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002308/0.2781, allocations: 83.81 kB / 0.8485 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004922/0.2786, allocations: 61.2 kB / 0.8486 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003473/0.282, allocations: 2.169 MB / 0.8507 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.2824, allocations: 0.7136 MB / 0.8514 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002697/0.2827, allocations: 53.92 kB / 0.8514 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.2828, allocations: 47.41 kB / 0.8515 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of SimCode: time 7.12e-07/0.2828, allocations: 4 kB / 0.8515 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03532/0.3181, allocations: 5.461 MB / 0.8568 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.36, allocations: 3.938 kB / 0.8568 GB, free: 15.55 MB / 0.6075 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.774305424998602] Failed to read output from testmodel.py, exit status != 0: 11.472787401999085 11.500387566 11.234024752 Calling exit ...