Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 188.5 kB / 22.22 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002357/0.002357, allocations: 296.8 kB / 306.6 MB, free: 8.359 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.137/1.137, allocations: 180.9 MB / 0.53 GB, free: 14.65 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002702/0.002702, allocations: 102.7 kB / 0.7309 GB, free: 38.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1592, allocations: 94.2 MB / 0.8229 GB, free: 2 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002356/0.1615, allocations: 1.265 MB / 0.8241 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005039/0.1621, allocations: 247.2 kB / 0.8243 GB, free: 492 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.436e-05/0.1621, allocations: 0 / 0.8243 GB, free: 492 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.496e-05/0.1621, allocations: 0 / 0.8243 GB, free: 492 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.521e-05/0.1621, allocations: 0 / 0.8243 GB, free: 492 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.1624, allocations: 51.77 kB / 0.8244 GB, free: 440 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.696e-05/0.1625, allocations: 15.98 kB / 0.8244 GB, free: 424 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.478e-05/0.1625, allocations: 4 kB / 0.8244 GB, free: 420 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.825e-05/0.1625, allocations: 4 kB / 0.8244 GB, free: 416 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.411e-05/0.1626, allocations: 19.84 kB / 0.8244 GB, free: 396 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.1626, allocations: 0 / 0.8244 GB, free: 396 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.1627, allocations: 47.95 kB / 0.8245 GB, free: 348 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.332e-05/0.1627, allocations: 4 kB / 0.8245 GB, free: 344 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.502e-05/0.1627, allocations: 11.94 kB / 0.8245 GB, free: 332 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.1628, allocations: 43.88 kB / 0.8245 GB, free: 288 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1629, allocations: 0 / 0.8245 GB, free: 288 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.803e-06/0.1629, allocations: 0 / 0.8245 GB, free: 288 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.1629, allocations: 0 / 0.8245 GB, free: 288 kB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003874/0.1632, allocations: 262.3 kB / 0.8248 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.1633, allocations: 8.031 kB / 0.8248 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.1634, allocations: 12.88 kB / 0.8248 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.355e-05/0.1635, allocations: 110.4 kB / 0.8249 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.1635, allocations: 4.375 kB / 0.8249 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.1635, allocations: 8.375 kB / 0.8249 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.1637, allocations: 46.19 kB / 0.8249 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.1637, allocations: 192 / 0.8249 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.1637, allocations: 3.938 kB / 0.825 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.1637, allocations: 0 / 0.825 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.495e-05/0.1637, allocations: 15.98 kB / 0.825 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001651/0.1639, allocations: 132.8 kB / 0.8251 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.227e-05/0.164, allocations: 42.52 kB / 0.8251 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.602e-05/0.164, allocations: 20.97 kB / 0.8252 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.697e-06/0.164, allocations: 4 kB / 0.8252 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.1641, allocations: 30.56 kB / 0.8252 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.1641, allocations: 0 / 0.8252 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.00198/0.166, allocations: 429 kB / 0.8256 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.1661, allocations: 51.41 kB / 0.8256 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.301e-05/0.1661, allocations: 89.86 kB / 0.8257 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.1661, allocations: 25.7 kB / 0.8258 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.776e-05/0.1662, allocations: 88.14 kB / 0.8258 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.1662, allocations: 27.75 kB / 0.8259 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-05/0.1663, allocations: 29.64 kB / 0.8259 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1664, allocations: 310.8 kB / 0.8262 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.652e-05/0.1664, allocations: 24.42 kB / 0.8262 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.841e-05/0.1665, allocations: 20 kB / 0.8262 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.1666, allocations: 60.97 kB / 0.8263 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.1666, allocations: 0 / 0.8263 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001458/0.1667, allocations: 101.6 kB / 0.8264 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1667, allocations: 11.94 kB / 0.8264 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1668, allocations: 4 kB / 0.8264 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1668, allocations: 0 / 0.8264 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.1669, allocations: 12 kB / 0.8264 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1669, allocations: 3.984 kB / 0.8264 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.623e-05/0.167, allocations: 4 kB / 0.8264 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.167, allocations: 4 kB / 0.8264 GB, free: 14.11 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (9): * Single equations (assignments): 9 * 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.832e-05/0.1671, allocations: 114.4 kB / 0.8265 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.816e-05/0.1671, allocations: 11.92 kB / 0.8265 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.89e-05/0.1671, allocations: 15.91 kB / 0.8266 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.1671, allocations: 0 / 0.8266 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.1671, allocations: 3.938 kB / 0.8266 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1671, allocations: 0 / 0.8266 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.1673, allocations: 150.3 kB / 0.8267 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1673, allocations: 0 / 0.8267 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.1674, allocations: 15.98 kB / 0.8267 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.1674, allocations: 3.938 kB / 0.8267 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.1674, allocations: 0 / 0.8267 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1674, allocations: 0 / 0.8267 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1674, allocations: 0 / 0.8267 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.1677, allocations: 157 kB / 0.8269 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.022e-06/0.1677, allocations: 3.938 kB / 0.8269 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.1677, allocations: 0 / 0.8269 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.1678, allocations: 8.094 kB / 0.8269 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.884e-05/0.1678, allocations: 11.92 kB / 0.8269 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.1678, allocations: 0 / 0.8269 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.219e-05/0.1679, allocations: 79.34 kB / 0.827 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1679, allocations: 0 / 0.827 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001857/0.168, allocations: 16 kB / 0.827 GB, free: 13.45 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (8): * Single equations (assignments): 8 * 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.000121/0.1682, allocations: 103.2 kB / 0.8271 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001599/0.1683, allocations: 59.92 kB / 0.8271 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1683, allocations: 0 / 0.8271 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.006e-05/0.1684, allocations: 27.98 kB / 0.8272 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.1686, allocations: 8 kB / 0.8272 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005116/0.1691, allocations: 184.5 kB / 0.8274 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.1694, allocations: 0.6768 MB / 0.828 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.388e-05/0.1695, allocations: 8 kB / 0.828 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.93e-05/0.1695, allocations: 11.44 kB / 0.828 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.1695, allocations: 0 / 0.828 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of Templates: time 0.003079/0.1726, allocations: 0.7431 MB / 0.8288 GB, free: 11.63 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.635923944413662] Failed to read output from testmodel.py, exit status != 0: 0.1793214464560151 0.19327734200000002 0.027603423000000002 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fbbf7afd7b0>