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.00156/0.00156, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001791/0.001791, allocations: 218.8 kB / 23.01 MB, free: 5.121 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.365/1.365, allocations: 230.6 MB / 256.8 MB, free: 7.965 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.002547/0.002547, allocations: 282.2 kB / 313.5 MB, free: 2.789 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.173/1.173, allocations: 180.6 MB / 0.5377 GB, free: 13.07 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: 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: 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.002768/0.002768, allocations: 100.1 kB / 0.7408 GB, free: 27.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1535, allocations: 95.39 MB / 0.8339 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002279/0.1557, allocations: 1.293 MB / 0.8352 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003218/0.159, allocations: 2.579 MB / 0.8377 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.806e-05/0.159, allocations: 0 / 0.8377 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.733e-05/0.159, allocations: 3.938 kB / 0.8377 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.274e-05/0.159, allocations: 7.938 kB / 0.8377 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005087/0.1596, allocations: 143.4 kB / 0.8379 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.534e-05/0.1596, allocations: 31.91 kB / 0.8379 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.399e-05/0.1597, allocations: 4 kB / 0.8379 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.257e-05/0.1597, allocations: 19.92 kB / 0.8379 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.255e-05/0.1598, allocations: 23.91 kB / 0.838 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.417e-06/0.1598, allocations: 0 / 0.838 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00028/0.1601, allocations: 123.7 kB / 0.8381 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.498e-05/0.1601, allocations: 11.98 kB / 0.8381 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.609e-05/0.1601, allocations: 11.92 kB / 0.8381 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.1603, allocations: 87.72 kB / 0.8382 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1603, allocations: 0 / 0.8382 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.153e-06/0.1603, allocations: 0 / 0.8382 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.1603, allocations: 0 / 0.8382 GB, free: 3.812 MB / 0.5762 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.0003832/0.1607, allocations: 270.3 kB / 0.8384 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.1607, allocations: 9.344 kB / 0.8384 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002016/0.1609, allocations: 20.88 kB / 0.8385 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.161, allocations: 122.4 kB / 0.8386 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.161, allocations: 4.359 kB / 0.8386 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.1611, allocations: 8.375 kB / 0.8386 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.1612, allocations: 76.36 kB / 0.8387 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1612, allocations: 0 / 0.8387 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.1612, allocations: 4 kB / 0.8387 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1612, allocations: 4 kB / 0.8387 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.831e-05/0.1613, allocations: 15.86 kB / 0.8387 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005677/0.1618, allocations: 404.3 kB / 0.8391 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.162, allocations: 75.66 kB / 0.8391 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.514e-05/0.162, allocations: 26.78 kB / 0.8392 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.368e-06/0.162, allocations: 3.938 kB / 0.8392 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.1621, allocations: 34.56 kB / 0.8392 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.1621, allocations: 4 kB / 0.8392 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0005449/0.1626, allocations: 225.1 kB / 0.8394 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/0.1627, allocations: 106.8 kB / 0.8395 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.007e-05/0.1627, allocations: 97.86 kB / 0.8396 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.1628, allocations: 29.7 kB / 0.8396 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.881e-05/0.1628, allocations: 96.27 kB / 0.8397 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.1628, allocations: 27.81 kB / 0.8398 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.1629, allocations: 25.7 kB / 0.8398 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.163, allocations: 318.8 kB / 0.8401 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.106e-05/0.163, allocations: 15.98 kB / 0.8401 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.554e-05/0.1631, allocations: 49.09 kB / 0.8402 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.955e-05/0.1632, allocations: 73.66 kB / 0.8402 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1632, allocations: 8 kB / 0.8402 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001464/0.1633, allocations: 101.5 kB / 0.8403 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.1634, allocations: 4.125 kB / 0.8403 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.1634, allocations: 8 kB / 0.8403 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1634, allocations: 0 / 0.8403 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.766e-05/0.1635, allocations: 23.92 kB / 0.8404 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.1635, allocations: 4 kB / 0.8404 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.652e-05/0.1635, allocations: 3.938 kB / 0.8404 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.1635, allocations: 4 kB / 0.8404 GB, free: 1.258 MB / 0.5762 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 8.345e-05/0.1636, allocations: 117.8 kB / 0.8405 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.962e-05/0.1637, allocations: 8 kB / 0.8405 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.777e-05/0.1637, allocations: 11.75 kB / 0.8405 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1637, allocations: 4 kB / 0.8405 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.1637, allocations: 3.984 kB / 0.8405 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1637, allocations: 0 / 0.8405 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003406/0.164, allocations: 156.6 kB / 0.8407 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.164, allocations: 0 / 0.8407 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.252e-05/0.1641, allocations: 15.94 kB / 0.8407 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1641, allocations: 0 / 0.8407 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.1641, allocations: 7.938 kB / 0.8407 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1641, allocations: 0 / 0.8407 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1641, allocations: 0 / 0.8407 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.1644, allocations: 334 kB / 0.841 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.095e-05/0.1644, allocations: 11.98 kB / 0.841 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.1644, allocations: 0 / 0.841 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.1646, allocations: 11.94 kB / 0.841 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.986e-05/0.1646, allocations: 7.984 kB / 0.841 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.1646, allocations: 7.938 kB / 0.841 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.927e-05/0.1647, allocations: 79.28 kB / 0.8411 GB, free: 436 kB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1647, allocations: 0 / 0.8411 GB, free: 436 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003036/0.165, allocations: 16 kB / 0.8411 GB, free: 420 kB / 0.5762 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.0001376/0.1651, allocations: 107.2 kB / 0.8412 GB, free: 300 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.1652, allocations: 40.09 kB / 0.8413 GB, free: 260 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1652, allocations: 4.062 kB / 0.8413 GB, free: 256 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.597e-05/0.1653, allocations: 19.94 kB / 0.8413 GB, free: 236 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.1657, allocations: 8.125 kB / 0.8413 GB, free: 228 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006651/0.1663, allocations: 377.2 kB / 0.8417 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.1667, allocations: 0.6884 MB / 0.8423 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/0.1667, allocations: 15.44 kB / 0.8424 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of SimCode: time 5.31e-07/0.1667, allocations: 4 kB / 0.8424 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of Templates: time 0.002209/0.1689, allocations: 0.7891 MB / 0.8431 GB, free: 14.3 MB / 0.5919 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: 7.904250492108986] Failed to read output from testmodel.py, exit status != 0: 0.17576369107700884 0.19056431100000001 0.027316997000000003 Calling exit ...