Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.001796/0.001796, allocations: 80.69 kB / 19.18 MB, free: 2.516 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.002141/0.002141, allocations: 159.6 kB / 22.46 MB, free: 5.375 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.662/1.662, allocations: 177.1 MB / 202.8 MB, free: 9.152 MB / 190.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.002424/0.002424, allocations: 234.2 kB / 259.4 MB, free: 448 kB / 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.1/1.1, allocations: 138.4 MB / 454.3 MB, free: 1.98 MB / 366.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: translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.6468 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.146e-05/2.285e-05, allocations: 5.656 kB / 0.6468 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002125/0.002148, allocations: 1.286 MB / 0.648 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003227/0.005375, allocations: 2.376 MB / 0.6503 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.45e-05/0.005399, allocations: 0 / 0.6503 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.797e-05/0.005417, allocations: 0 / 0.6503 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.774e-05/0.005465, allocations: 7.938 kB / 0.6503 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005778/0.006043, allocations: 135.2 kB / 0.6505 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.689e-05/0.00612, allocations: 39.84 kB / 0.6505 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.667e-05/0.006156, allocations: 7.984 kB / 0.6505 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.466e-05/0.006221, allocations: 27.91 kB / 0.6505 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.393e-05/0.006295, allocations: 7.984 kB / 0.6506 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.00631, allocations: 4 kB / 0.6506 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002712/0.006581, allocations: 103.7 kB / 0.6507 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.015e-05/0.006601, allocations: 7.922 kB / 0.6507 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.457e-05/0.006636, allocations: 15.98 kB / 0.6507 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.006844, allocations: 87.7 kB / 0.6508 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.006847, allocations: 4 kB / 0.6508 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.32e-07/0.006848, allocations: 0 / 0.6508 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.006852, allocations: 0 / 0.6508 GB, free: 0.8906 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004157/0.007268, allocations: 278.2 kB / 0.651 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.007304, allocations: 9.344 kB / 0.651 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002105/0.007514, allocations: 16.88 kB / 0.6511 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.00762, allocations: 117.7 kB / 0.6512 GB, free: 436 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.007632, allocations: 384 / 0.6512 GB, free: 436 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.007654, allocations: 4.375 kB / 0.6512 GB, free: 432 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.007833, allocations: 145.9 kB / 0.6513 GB, free: 252 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.007844, allocations: 8.125 kB / 0.6513 GB, free: 244 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.00786, allocations: 8.109 kB / 0.6513 GB, free: 236 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-06/0.007864, allocations: 0 / 0.6513 GB, free: 236 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.12e-05/0.007905, allocations: 12 kB / 0.6513 GB, free: 224 kB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2935/0.3014, allocations: 381.5 kB / 0.6517 GB, free: 57.11 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.3015, allocations: 70.41 kB / 0.6518 GB, free: 57.04 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.601e-05/0.3016, allocations: 22.64 kB / 0.6518 GB, free: 57.01 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.3016, allocations: 2.312 kB / 0.6518 GB, free: 57.01 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.3016, allocations: 38 kB / 0.6518 GB, free: 56.97 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.794e-06/0.3016, allocations: 1.5 kB / 0.6518 GB, free: 56.97 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0005802/0.3022, allocations: 227.2 kB / 0.6521 GB, free: 56.82 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.3022, allocations: 109.7 kB / 0.6522 GB, free: 56.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.143e-05/0.3023, allocations: 100.7 kB / 0.6523 GB, free: 56.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.908e-06/0.3023, allocations: 29.02 kB / 0.6523 GB, free: 56.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.352e-05/0.3023, allocations: 90.8 kB / 0.6524 GB, free: 56.48 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.3023, allocations: 31.5 kB / 0.6524 GB, free: 56.47 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.3024, allocations: 25.89 kB / 0.6524 GB, free: 56.45 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.051e-05/0.3024, allocations: 314.5 kB / 0.6527 GB, free: 56.14 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.658e-05/0.3024, allocations: 15.84 kB / 0.6527 GB, free: 56.14 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.887e-05/0.3025, allocations: 53.31 kB / 0.6528 GB, free: 56.09 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.184e-05/0.3025, allocations: 72.53 kB / 0.6529 GB, free: 56.05 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.3025, allocations: 0.5 kB / 0.6529 GB, free: 56.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001184/0.3026, allocations: 100.7 kB / 0.653 GB, free: 56.01 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.3027, allocations: 13.38 kB / 0.653 GB, free: 56 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3027, allocations: 0.9844 kB / 0.653 GB, free: 56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.3027, allocations: 3.594 kB / 0.653 GB, free: 56 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.301e-05/0.3028, allocations: 16.56 kB / 0.653 GB, free: 56 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3028, allocations: 5.656 kB / 0.653 GB, free: 56 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.807e-05/0.3028, allocations: 9.078 kB / 0.653 GB, free: 56 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.3028, allocations: 7.875 kB / 0.653 GB, free: 56 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 5.022e-05/0.3029, allocations: 117.7 kB / 0.6531 GB, free: 55.88 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.079e-05/0.3029, allocations: 7.281 kB / 0.6531 GB, free: 55.88 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.107e-05/0.303, allocations: 10.48 kB / 0.6531 GB, free: 55.88 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.303, allocations: 0 / 0.6531 GB, free: 55.88 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.303, allocations: 4.156 kB / 0.6531 GB, free: 55.88 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.303, allocations: 0.6562 kB / 0.6531 GB, free: 55.88 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002605/0.3032, allocations: 122.3 kB / 0.6533 GB, free: 55.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3032, allocations: 0.875 kB / 0.6533 GB, free: 55.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.214e-05/0.3033, allocations: 19.75 kB / 0.6533 GB, free: 55.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.3033, allocations: 1.609 kB / 0.6533 GB, free: 55.75 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.3033, allocations: 8.125 kB / 0.6533 GB, free: 55.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.3033, allocations: 5.844 kB / 0.6533 GB, free: 55.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3033, allocations: 0.7969 kB / 0.6533 GB, free: 55.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.3035, allocations: 323.8 kB / 0.6536 GB, free: 55.46 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.045e-05/0.3035, allocations: 7.922 kB / 0.6536 GB, free: 55.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.3035, allocations: 4.953 kB / 0.6536 GB, free: 55.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.3037, allocations: 6.438 kB / 0.6536 GB, free: 55.46 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/0.3037, allocations: 9.953 kB / 0.6536 GB, free: 55.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.3037, allocations: 12.3 kB / 0.6536 GB, free: 55.46 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 1.888e-05/0.3038, allocations: 78.16 kB / 0.6537 GB, free: 55.38 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.3038, allocations: 0 / 0.6537 GB, free: 55.38 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003187/0.3041, allocations: 13.59 kB / 0.6537 GB, free: 55.38 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001019/0.3042, allocations: 107.6 kB / 0.6538 GB, free: 55.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001086/0.3043, allocations: 43.53 kB / 0.6539 GB, free: 55.29 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3043, allocations: 0.9062 kB / 0.6539 GB, free: 55.29 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.255e-05/0.3043, allocations: 20.22 kB / 0.6539 GB, free: 55.29 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.3048, allocations: 10.53 kB / 0.6539 GB, free: 55.29 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004439/0.3052, allocations: 271.2 kB / 0.6542 GB, free: 55.12 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.849e-05/0.3053, allocations: 65.69 kB / 0.6542 GB, free: 55.05 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.072e-05/0.3053, allocations: 13.12 kB / 0.6542 GB, free: 55.05 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.282e-05/0.3053, allocations: 15.31 kB / 0.6543 GB, free: 55.05 MB / 0.5606 GB Notification: Performance of SimCode: time 3.7e-07/0.3053, allocations: 3.938 kB / 0.6543 GB, free: 55.04 MB / 0.5606 GB Notification: Performance of Templates: time 0.003132/0.3084, allocations: 0.6543 MB / 0.6549 GB, free: 55 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.2232603542506695] Failed to read output from testmodel.py, exit status != 0: 0.31579700857400894 0.325513747 0.316268987 Calling exit ...