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.0007638/0.0007638, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007533/0.0007533, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8312/0.8312, allocations: 177.1 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.001458/0.001458, allocations: 230.5 kB / 260.2 MB, free: 13 MB / 250.7 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 0.6513/0.6513, allocations: 138.4 MB / 455.1 MB, free: 1.652 MB / 362.7 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.583e-06/1.583e-06, allocations: 0 / 0.6475 GB, free: 28.77 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.648e-05, allocations: 7.828 kB / 0.6475 GB, free: 28.76 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001574/0.001601, allocations: 1.269 MB / 0.6487 GB, free: 27.75 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001963/0.003564, allocations: 2.38 MB / 0.6511 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.278e-05/0.003597, allocations: 0 / 0.6511 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.716e-05/0.003614, allocations: 1.031 kB / 0.6511 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.39e-05/0.003658, allocations: 7.969 kB / 0.6511 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005255/0.004184, allocations: 141.8 kB / 0.6512 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 8.162e-05/0.004265, allocations: 36.88 kB / 0.6512 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.884e-05/0.004304, allocations: 2.938 kB / 0.6512 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.61e-05/0.00436, allocations: 23.53 kB / 0.6513 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.55e-05/0.004416, allocations: 22.25 kB / 0.6513 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.004427, allocations: 1.375 kB / 0.6513 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.004633, allocations: 102.8 kB / 0.6514 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.004646, allocations: 10.41 kB / 0.6514 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.255e-05/0.004668, allocations: 11.7 kB / 0.6514 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.004833, allocations: 94.5 kB / 0.6515 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.004835, allocations: 0 / 0.6515 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.503e-06/0.004836, allocations: 0 / 0.6515 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.868e-06/0.00484, allocations: 0 / 0.6515 GB, free: 25.62 MB / 0.5105 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.0002951/0.005135, allocations: 273.8 kB / 0.6518 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.005171, allocations: 9.344 kB / 0.6518 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/0.005308, allocations: 14.39 kB / 0.6518 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.899e-05/0.005357, allocations: 108.2 kB / 0.6519 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.005367, allocations: 5.438 kB / 0.6519 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.005393, allocations: 12.44 kB / 0.6519 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.005521, allocations: 155.6 kB / 0.6521 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.005528, allocations: 192 / 0.6521 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.005541, allocations: 5.188 kB / 0.6521 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.005547, allocations: 1 kB / 0.6521 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.851e-05/0.005585, allocations: 14.86 kB / 0.6521 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003675/0.005953, allocations: 381.3 kB / 0.6524 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.954e-05/0.006042, allocations: 70.19 kB / 0.6525 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.857e-05/0.006061, allocations: 26.39 kB / 0.6525 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.899e-06/0.006071, allocations: 5.969 kB / 0.6525 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.463e-05/0.006085, allocations: 40.97 kB / 0.6526 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.006086, allocations: 5.031 kB / 0.6526 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7): time 0.00042/0.006506, allocations: 233.8 kB / 0.6528 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.006531, allocations: 104.6 kB / 0.6529 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.585e-05/0.006567, allocations: 98.31 kB / 0.653 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.735e-06/0.006575, allocations: 35.14 kB / 0.653 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.131e-05/0.006596, allocations: 89.44 kB / 0.6531 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.006611, allocations: 27.53 kB / 0.6531 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.006644, allocations: 29.42 kB / 0.6532 GB, free: 23.85 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.022e-05/0.006685, allocations: 312.3 kB / 0.6535 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.233e-05/0.006707, allocations: 16.23 kB / 0.6535 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.531e-05/0.006742, allocations: 53.58 kB / 0.6535 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.685e-05/0.006799, allocations: 71.94 kB / 0.6536 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.0068, allocations: 5.344 kB / 0.6536 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.184e-05/0.006882, allocations: 97.97 kB / 0.6537 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.006896, allocations: 6.156 kB / 0.6537 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.006901, allocations: 1.469 kB / 0.6537 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.006916, allocations: 1.188 kB / 0.6537 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.104e-05/0.006967, allocations: 21.23 kB / 0.6537 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.006973, allocations: 2.594 kB / 0.6537 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.16e-05/0.006994, allocations: 5.469 kB / 0.6537 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.007, allocations: 3.688 kB / 0.6537 GB, free: 23.33 MB / 0.5105 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 3.88e-05/0.007039, allocations: 122.9 kB / 0.6539 GB, free: 23.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.238e-05/0.007071, allocations: 10.45 kB / 0.6539 GB, free: 23.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.085e-05/0.007092, allocations: 12.52 kB / 0.6539 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.007094, allocations: 2.281 kB / 0.6539 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.007099, allocations: 1.125 kB / 0.6539 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.007102, allocations: 0 / 0.6539 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.007265, allocations: 122.4 kB / 0.654 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.007266, allocations: 0 / 0.654 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.623e-05/0.007312, allocations: 23.09 kB / 0.654 GB, free: 23.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.007314, allocations: 1.156 kB / 0.654 GB, free: 23.04 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.007322, allocations: 9.25 kB / 0.654 GB, free: 23.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.007324, allocations: 5.406 kB / 0.654 GB, free: 23.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.007324, allocations: 3.938 kB / 0.654 GB, free: 23.02 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.007448, allocations: 322.7 kB / 0.6543 GB, free: 22.72 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.701e-05/0.007475, allocations: 12.08 kB / 0.6544 GB, free: 22.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.007486, allocations: 1.594 kB / 0.6544 GB, free: 22.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.305e-05/0.007579, allocations: 6.812 kB / 0.6544 GB, free: 22.71 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.464e-05/0.007593, allocations: 10.61 kB / 0.6544 GB, free: 22.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.007598, allocations: 2.844 kB / 0.6544 GB, free: 22.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.27e-05/0.007611, allocations: 85.89 kB / 0.6545 GB, free: 22.62 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.007611, allocations: 4 kB / 0.6545 GB, free: 22.62 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001982/0.007809, allocations: 14.84 kB / 0.6545 GB, free: 22.61 MB / 0.5105 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 9.222e-05/0.007901, allocations: 109.3 kB / 0.6546 GB, free: 22.52 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.723e-05/0.007989, allocations: 45.5 kB / 0.6546 GB, free: 22.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.00799, allocations: 0 / 0.6546 GB, free: 22.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.726e-05/0.008008, allocations: 22.7 kB / 0.6546 GB, free: 22.49 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.008298, allocations: 13.66 kB / 0.6547 GB, free: 22.48 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003557/0.008653, allocations: 289.9 kB / 0.6549 GB, free: 22.21 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.957e-05/0.008693, allocations: 65.66 kB / 0.655 GB, free: 22.14 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.213e-05/0.008715, allocations: 17.66 kB / 0.655 GB, free: 22.12 MB / 0.5105 GB Notification: Performance of SimCode: time 6.61e-07/0.008716, allocations: 0 / 0.655 GB, free: 22.12 MB / 0.5105 GB Notification: Performance of Templates: time 0.001509/0.01022, allocations: 0.8193 MB / 0.6558 GB, free: 21.71 MB / 0.5105 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: 4.892497622407973] Failed to read output from testmodel.py, exit status != 0: 0.0156843988224864 0.021414208 0.015142177000000001 Calling exit ...