Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001317/0.001317, allocations: 105 kB / 20.48 MB, free: 1.488 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.001596/0.001596, allocations: 215.2 kB / 23.79 MB, free: 4.703 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.498/1.498, allocations: 230.6 MB / 257.6 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9545/0.9545, allocations: 150 MB / 464 MB, free: 10.52 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002683/0.002683, allocations: 65.95 kB / 0.6421 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.229, allocations: 89.17 MB / 0.7292 GB, free: 1.285 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.00646/0.2355, allocations: 4.163 MB / 0.7332 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003128/0.2386, allocations: 2.457 MB / 0.7356 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.834e-05/0.2387, allocations: 4 kB / 0.7356 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002789/0.239, allocations: 55.61 kB / 0.7357 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002913/0.2393, allocations: 103.3 kB / 0.7358 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.2407, allocations: 0.5398 MB / 0.7363 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003668/0.2411, allocations: 267.8 kB / 0.7366 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.177e-05/0.2411, allocations: 17.73 kB / 0.7366 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002206/0.2413, allocations: 115.5 kB / 0.7367 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001739/0.2415, allocations: 95.64 kB / 0.7368 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.2415, allocations: 11.98 kB / 0.7368 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008898/0.2424, allocations: 479.2 kB / 0.7373 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.91e-05/0.2425, allocations: 39.89 kB / 0.7373 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.2426, allocations: 83.59 kB / 0.7374 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000673/0.2433, allocations: 415.1 kB / 0.7378 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2433, allocations: 3.938 kB / 0.7378 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2433, allocations: 0 / 0.7378 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.2433, allocations: 4 kB / 0.7378 GB, free: 8.43 MB / 0.5606 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.0008576/0.2441, allocations: 453.4 kB / 0.7382 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.2442, allocations: 8.031 kB / 0.7382 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.514e-05/0.2442, allocations: 4.516 kB / 0.7382 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.375e-05/0.2443, allocations: 54.73 kB / 0.7383 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002082/0.2463, allocations: 188.6 kB / 0.7385 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003284/0.2467, allocations: 154.3 kB / 0.7386 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.2467, allocations: 8.703 kB / 0.7386 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.267e-05/0.2467, allocations: 20.12 kB / 0.7386 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007239/0.2475, allocations: 312.2 kB / 0.7389 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.2475, allocations: 0 / 0.7389 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.115e-05/0.2475, allocations: 12 kB / 0.7389 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.2475, allocations: 4 kB / 0.7389 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007631/0.2483, allocations: 271.5 kB / 0.7392 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0018/0.2501, allocations: 1.357 MB / 0.7405 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007007/0.2508, allocations: 187.2 kB / 0.7407 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002313/0.251, allocations: 68.8 kB / 0.7408 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.2511, allocations: 8 kB / 0.7408 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.2511, allocations: 34.56 kB / 0.7408 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 1.343e-06/0.2511, allocations: 4 kB / 0.7408 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18): time 0.0008485/0.2519, allocations: 245.3 kB / 0.741 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.252, allocations: 55.41 kB / 0.7411 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.2521, allocations: 157.2 kB / 0.7413 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.889e-05/0.2522, allocations: 33.7 kB / 0.7413 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.366e-05/0.2523, allocations: 132.2 kB / 0.7414 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.996e-05/0.2523, allocations: 67.42 kB / 0.7415 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.827e-05/0.2524, allocations: 49.94 kB / 0.7415 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.2526, allocations: 322.8 kB / 0.7418 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/0.2528, allocations: 68.41 kB / 0.7419 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002946/0.2531, allocations: 146.2 kB / 0.742 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005214/0.2536, allocations: 218.8 kB / 0.7422 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.2536, allocations: 4 kB / 0.7422 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006438/0.2543, allocations: 252.1 kB / 0.7425 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.2543, allocations: 8 kB / 0.7425 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.2543, allocations: 4 kB / 0.7425 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.2543, allocations: 4 kB / 0.7425 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003617/0.2547, allocations: 63.89 kB / 0.7426 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.2547, allocations: 7.938 kB / 0.7426 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.2549, allocations: 27.83 kB / 0.7426 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.255, allocations: 12 kB / 0.7426 GB, free: 3.125 MB / 0.5606 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.0002262/0.2552, allocations: 141.7 kB / 0.7427 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.089e-05/0.2552, allocations: 23.88 kB / 0.7428 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006656/0.2559, allocations: 222.6 kB / 0.743 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.2559, allocations: 4 kB / 0.743 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2559, allocations: 0 / 0.743 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.2559, allocations: 3.984 kB / 0.743 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002941/0.2562, allocations: 208.6 kB / 0.7432 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2562, allocations: 0 / 0.7432 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002992/0.2565, allocations: 51.89 kB / 0.7432 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2565, allocations: 4 kB / 0.7432 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.2565, allocations: 4 kB / 0.7432 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.2565, allocations: 0 / 0.7432 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.2566, allocations: 4 kB / 0.7432 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005945/0.2571, allocations: 297.5 kB / 0.7435 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.341e-05/0.2572, allocations: 31.8 kB / 0.7436 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.766e-05/0.2573, allocations: 8 kB / 0.7436 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000268/0.2575, allocations: 15.98 kB / 0.7436 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.702e-05/0.2576, allocations: 7.984 kB / 0.7436 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.2576, allocations: 23.92 kB / 0.7436 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.639e-05/0.2577, allocations: 119 kB / 0.7437 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2577, allocations: 0 / 0.7437 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003717/0.2581, allocations: 63.94 kB / 0.7438 GB, free: 1.844 MB / 0.5606 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.001026/0.2591, allocations: 0.8762 MB / 0.7446 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005602/0.2597, allocations: 168.4 kB / 0.7448 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.2597, allocations: 4 kB / 0.7448 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002359/0.2599, allocations: 75.89 kB / 0.7449 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000507/0.2604, allocations: 62 kB / 0.7449 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003541/0.2639, allocations: 2.167 MB / 0.7471 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.2643, allocations: 0.7133 MB / 0.7478 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002706/0.2646, allocations: 57.91 kB / 0.7478 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.2647, allocations: 43.42 kB / 0.7478 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of SimCode: time 5.21e-07/0.2647, allocations: 0 / 0.7478 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02828/0.293, allocations: 5.493 MB / 0.7532 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/11.95, allocations: 2.625 kB / 0.7532 GB, free: 8.23 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.127995004993863] Failed to read output from testmodel.py, exit status != 0: 12.123121317010373 12.438232319 12.192009342 Calling exit ...