Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.292/1.292, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000947/0.000947, allocations: 173.8 kB / 326.5 MB, free: 2.711 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 205 MB / 0.5766 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007119/0.0007119, allocations: 90.34 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.000329, allocations: 8.875 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1541, allocations: 105.4 MB / 0.8967 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001121/0.1553, allocations: 0.9941 MB / 0.8977 GB, free: 67.23 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002759/0.1581, allocations: 3.251 MB / 0.9009 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.909e-05/0.1581, allocations: 0 / 0.9009 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.157e-05/0.1582, allocations: 3.938 kB / 0.9009 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.918e-05/0.1582, allocations: 7.922 kB / 0.9009 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004095/0.1586, allocations: 103.5 kB / 0.901 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.682e-05/0.1587, allocations: 27.92 kB / 0.901 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.241e-05/0.1587, allocations: 4 kB / 0.901 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.435e-05/0.1587, allocations: 15.98 kB / 0.901 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.8e-05/0.1588, allocations: 23.91 kB / 0.9011 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.668e-06/0.1588, allocations: 0 / 0.9011 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001911/0.159, allocations: 75.75 kB / 0.9011 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.316e-05/0.159, allocations: 15.98 kB / 0.9011 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.397e-05/0.1591, allocations: 15.88 kB / 0.9012 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.1592, allocations: 76.06 kB / 0.9012 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1592, allocations: 0 / 0.9012 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1592, allocations: 0 / 0.9012 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.1592, allocations: 0 / 0.9012 GB, free: 63.59 MB / 0.6042 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.0003108/0.1596, allocations: 331.5 kB / 0.9015 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.1596, allocations: 8.031 kB / 0.9016 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.1597, allocations: 8.922 kB / 0.9016 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.816e-05/0.1598, allocations: 164.4 kB / 0.9017 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.1598, allocations: 8.375 kB / 0.9017 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.1599, allocations: 8.219 kB / 0.9017 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.16, allocations: 57.8 kB / 0.9018 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.16, allocations: 4 kB / 0.9018 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.16, allocations: 0 / 0.9018 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.16, allocations: 3.938 kB / 0.9018 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.491e-05/0.1601, allocations: 15.98 kB / 0.9018 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.1602, allocations: 173.6 kB / 0.902 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.535e-05/0.1603, allocations: 58.48 kB / 0.902 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.657e-05/0.1603, allocations: 20.84 kB / 0.9021 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005781/0.1609, allocations: 0.5907 MB / 0.9026 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.161, allocations: 34.56 kB / 0.9027 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.233e-06/0.161, allocations: 4 kB / 0.9027 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0004522/0.1614, allocations: 302.5 kB / 0.903 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.464e-05/0.1615, allocations: 51.41 kB / 0.903 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.912e-05/0.1615, allocations: 105.8 kB / 0.9031 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.1615, allocations: 25.7 kB / 0.9031 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.298e-05/0.1616, allocations: 84.05 kB / 0.9032 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.319e-05/0.1616, allocations: 27.64 kB / 0.9032 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.077e-05/0.1616, allocations: 21.72 kB / 0.9033 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.949e-05/0.1616, allocations: 318.8 kB / 0.9036 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.105e-05/0.1617, allocations: 15.92 kB / 0.9036 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.557e-05/0.1617, allocations: 53.14 kB / 0.9036 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.048e-05/0.1618, allocations: 73.09 kB / 0.9037 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1618, allocations: 0 / 0.9037 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001084/0.1619, allocations: 97.45 kB / 0.9038 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.1619, allocations: 10.66 kB / 0.9038 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1619, allocations: 0 / 0.9038 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.1619, allocations: 4.125 kB / 0.9038 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.622e-05/0.162, allocations: 31.86 kB / 0.9038 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.162, allocations: 0 / 0.9038 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.592e-05/0.1621, allocations: 4 kB / 0.9038 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.1621, allocations: 11.88 kB / 0.9038 GB, free: 60.5 MB / 0.6042 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 4.854e-05/0.1621, allocations: 109.8 kB / 0.904 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.1622, allocations: 7.984 kB / 0.904 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.537e-05/0.1622, allocations: 7.969 kB / 0.904 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1622, allocations: 0 / 0.904 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1622, allocations: 4 kB / 0.904 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.814e-05/0.1622, allocations: 85.02 kB / 0.9041 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.1623, allocations: 11.92 kB / 0.9041 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.717e-05/0.1624, allocations: 7.938 kB / 0.9041 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.379e-05/0.1624, allocations: 0 / 0.9041 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001184/0.1625, allocations: 148.9 kB / 0.9042 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000136/0.1627, allocations: 258.6 kB / 0.9045 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.922e-05/0.1627, allocations: 20.03 kB / 0.9045 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.581e-05/0.1627, allocations: 79.28 kB / 0.9046 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of Backend: time 2.11e-07/0.1627, allocations: 0 / 0.9046 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003874/0.1631, allocations: 147.7 kB / 0.9047 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004754/0.1636, allocations: 0.7636 MB / 0.9054 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of Templates: time 0.002689/0.1663, allocations: 0.9568 MB / 0.9064 GB, free: 57.8 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)