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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008466/0.0008465, allocations: 86.33 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008773/0.0008773, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.697/1.697, allocations: 252 MB / 0.5102 GB, free: 4.805 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005267/0.0005269, allocations: 12 kB / 0.6243 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.568/0.5685, allocations: 106.3 MB / 0.7281 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001293/0.5699, allocations: 0.9749 MB / 0.7291 GB, free: 10.42 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003452/0.5734, allocations: 3.068 MB / 0.7321 GB, free: 7.336 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.172e-05/0.5734, allocations: 0 / 0.7321 GB, free: 7.336 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.67e-05/0.5735, allocations: 3.938 kB / 0.7321 GB, free: 7.332 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.516e-05/0.5735, allocations: 3.984 kB / 0.7321 GB, free: 7.328 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004703/0.574, allocations: 83.62 kB / 0.7322 GB, free: 7.246 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.024e-05/0.5741, allocations: 39.84 kB / 0.7322 GB, free: 7.207 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.812e-05/0.5742, allocations: 0 / 0.7322 GB, free: 7.207 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.976e-05/0.5742, allocations: 19.98 kB / 0.7322 GB, free: 7.188 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.742e-05/0.5743, allocations: 23.91 kB / 0.7322 GB, free: 7.164 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.5743, allocations: 0 / 0.7322 GB, free: 7.164 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.5745, allocations: 47.84 kB / 0.7323 GB, free: 7.117 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.655e-05/0.5746, allocations: 11.92 kB / 0.7323 GB, free: 7.105 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.586e-05/0.5746, allocations: 29.7 kB / 0.7323 GB, free: 7.07 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.5747, allocations: 41.92 kB / 0.7324 GB, free: 7.031 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.5748, allocations: 0 / 0.7324 GB, free: 7.031 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.046e-06/0.5748, allocations: 4 kB / 0.7324 GB, free: 7.027 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.5748, allocations: 0 / 0.7324 GB, free: 7.027 MB / 0.545 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.0004698/0.5753, allocations: 339.3 kB / 0.7327 GB, free: 6.648 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.5753, allocations: 11.97 kB / 0.7327 GB, free: 6.637 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.5754, allocations: 7.953 kB / 0.7327 GB, free: 6.629 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.5756, allocations: 159.1 kB / 0.7329 GB, free: 6.434 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.5756, allocations: 4 kB / 0.7329 GB, free: 6.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.5757, allocations: 11.91 kB / 0.7329 GB, free: 6.418 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.5758, allocations: 53.67 kB / 0.7329 GB, free: 6.359 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.5758, allocations: 0 / 0.7329 GB, free: 6.359 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.5759, allocations: 7.938 kB / 0.7329 GB, free: 6.352 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.5759, allocations: 0 / 0.7329 GB, free: 6.352 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.349e-05/0.5759, allocations: 23.92 kB / 0.733 GB, free: 6.328 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002197/0.5762, allocations: 169.5 kB / 0.7331 GB, free: 6.113 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.5763, allocations: 46.56 kB / 0.7332 GB, free: 6.059 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.371e-05/0.5763, allocations: 20.84 kB / 0.7332 GB, free: 6.035 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007125/0.577, allocations: 0.5871 MB / 0.7338 GB, free: 5.34 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.5771, allocations: 38.52 kB / 0.7338 GB, free: 5.293 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.402e-06/0.5771, allocations: 3.938 kB / 0.7338 GB, free: 5.289 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0005824/0.5777, allocations: 298.5 kB / 0.7341 GB, free: 4.945 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.5777, allocations: 63.39 kB / 0.7341 GB, free: 4.871 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.156e-05/0.5778, allocations: 97.86 kB / 0.7342 GB, free: 4.766 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.5778, allocations: 25.7 kB / 0.7343 GB, free: 4.734 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.94e-05/0.5779, allocations: 87.98 kB / 0.7343 GB, free: 4.645 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.5779, allocations: 27.77 kB / 0.7344 GB, free: 4.617 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/0.5779, allocations: 4 kB / 0.7344 GB, free: 4.613 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.369e-05/0.578, allocations: 310.8 kB / 0.7347 GB, free: 4.301 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.732e-05/0.578, allocations: 15.98 kB / 0.7347 GB, free: 4.285 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.584e-05/0.5781, allocations: 53.2 kB / 0.7347 GB, free: 4.215 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.329e-05/0.5781, allocations: 24.17 kB / 0.7348 GB, free: 4.191 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.5781, allocations: 3.938 kB / 0.7348 GB, free: 4.188 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001315/0.5783, allocations: 105.4 kB / 0.7349 GB, free: 4.078 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.5783, allocations: 8 kB / 0.7349 GB, free: 4.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.5783, allocations: 0 / 0.7349 GB, free: 4.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.5783, allocations: 0 / 0.7349 GB, free: 4.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.049e-05/0.5784, allocations: 27.98 kB / 0.7349 GB, free: 4.043 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.5784, allocations: 0 / 0.7349 GB, free: 4.043 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.949e-05/0.5785, allocations: 4 kB / 0.7349 GB, free: 4.039 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.5785, allocations: 4 kB / 0.7349 GB, free: 4.035 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.539e-05/0.5786, allocations: 121.8 kB / 0.735 GB, free: 3.906 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.5786, allocations: 7.953 kB / 0.735 GB, free: 3.898 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.089e-05/0.5786, allocations: 7.969 kB / 0.735 GB, free: 3.883 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.5786, allocations: 4 kB / 0.735 GB, free: 3.879 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.5787, allocations: 0 / 0.735 GB, free: 3.879 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.5787, allocations: 0 / 0.735 GB, free: 3.879 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.5789, allocations: 173.7 kB / 0.7352 GB, free: 3.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5789, allocations: 0 / 0.7352 GB, free: 3.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.84e-05/0.579, allocations: 15.98 kB / 0.7352 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.579, allocations: 3.938 kB / 0.7352 GB, free: 3.641 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.579, allocations: 3.953 kB / 0.7352 GB, free: 3.637 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5791, allocations: 8 kB / 0.7352 GB, free: 3.629 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.5791, allocations: 3.938 kB / 0.7352 GB, free: 3.625 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.5793, allocations: 171.4 kB / 0.7354 GB, free: 3.441 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.048e-05/0.5793, allocations: 81.11 kB / 0.7355 GB, free: 3.344 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.5794, allocations: 4.031 kB / 0.7355 GB, free: 3.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.843e-05/0.5795, allocations: 7.953 kB / 0.7355 GB, free: 3.332 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.753e-05/0.5795, allocations: 7.984 kB / 0.7355 GB, free: 3.324 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.5795, allocations: 8 kB / 0.7355 GB, free: 3.316 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.905e-05/0.5796, allocations: 79.27 kB / 0.7356 GB, free: 3.238 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5796, allocations: 0 / 0.7356 GB, free: 3.238 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002413/0.5798, allocations: 16 kB / 0.7356 GB, free: 3.223 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001497/0.58, allocations: 99.25 kB / 0.7357 GB, free: 3.113 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000131/0.5801, allocations: 39.92 kB / 0.7357 GB, free: 3.074 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.5801, allocations: 4.25 kB / 0.7357 GB, free: 3.07 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.815e-05/0.5802, allocations: 19.92 kB / 0.7358 GB, free: 3.051 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.5805, allocations: 6.953 kB / 0.7358 GB, free: 3.047 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006635/0.5811, allocations: 394.8 kB / 0.7361 GB, free: 2.637 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.5814, allocations: 0.6809 MB / 0.7368 GB, free: 1.93 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.572e-05/0.5815, allocations: 11.98 kB / 0.7368 GB, free: 1.918 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.3e-05/0.5815, allocations: 11.44 kB / 0.7368 GB, free: 1.906 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.5815, allocations: 0 / 0.7368 GB, free: 1.906 MB / 0.545 GB Notification: Performance of Templates: time 0.002948/0.5845, allocations: 0.5624 MB / 0.7374 GB, free: 1.344 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: