Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.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.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.393/1.393, allocations: 252 MB / 267.6 MB, free: 10.97 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.0009926/0.0009926, allocations: 184.6 kB / 327.3 MB, free: 2.227 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.718/1.718, allocations: 205.4 MB / 0.5783 GB, free: 20.53 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.0008417/0.0008418, allocations: 87.3 kB / 0.6829 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003509, allocations: 12.56 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2473, allocations: 106.3 MB / 0.9008 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1792/0.4266, allocations: 147.5 MB / 1.045 GB, free: 12.37 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004955/0.4316, allocations: 2.73 MB / 1.048 GB, free: 9.633 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006484/0.4323, allocations: 11.88 kB / 1.048 GB, free: 9.621 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00069/0.433, allocations: 139.1 kB / 1.048 GB, free: 9.484 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001981/0.435, allocations: 0.5714 MB / 1.048 GB, free: 8.91 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007536/0.4357, allocations: 242.4 kB / 1.048 GB, free: 8.676 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001321/0.4371, allocations: 1.107 MB / 1.05 GB, free: 7.566 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003429/0.4374, allocations: 197.6 kB / 1.05 GB, free: 7.371 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005623/0.438, allocations: 306.7 kB / 1.05 GB, free: 7.07 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006054/0.4386, allocations: 274.8 kB / 1.05 GB, free: 6.801 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.932e-05/0.4387, allocations: 16 kB / 1.05 GB, free: 6.785 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009015/0.4396, allocations: 311.2 kB / 1.051 GB, free: 6.48 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.4397, allocations: 111.7 kB / 1.051 GB, free: 6.371 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.4399, allocations: 101.5 kB / 1.051 GB, free: 6.266 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006557/0.4405, allocations: 0.5185 MB / 1.051 GB, free: 5.746 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.4405, allocations: 4 kB / 1.051 GB, free: 5.742 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.477e-06/0.4405, allocations: 0 / 1.051 GB, free: 5.742 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.4406, allocations: 4 kB / 1.051 GB, free: 5.738 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001296/0.4419, allocations: 0.6544 MB / 1.052 GB, free: 5.035 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.4419, allocations: 12.03 kB / 1.052 GB, free: 5.023 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/0.4429, allocations: 139.4 kB / 1.052 GB, free: 4.887 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006961/0.4437, allocations: 386.7 kB / 1.053 GB, free: 4.465 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.299e-05/0.4437, allocations: 24.52 kB / 1.053 GB, free: 4.441 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.871e-05/0.4438, allocations: 27.94 kB / 1.053 GB, free: 4.414 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005481/0.4443, allocations: 283.7 kB / 1.053 GB, free: 4.125 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.4444, allocations: 0 / 1.053 GB, free: 4.125 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.377e-05/0.4444, allocations: 12 kB / 1.053 GB, free: 4.113 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.24e-05/0.4444, allocations: 8.562 kB / 1.053 GB, free: 4.102 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003807/0.4448, allocations: 190.1 kB / 1.053 GB, free: 3.918 MB / 0.698 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.4469, allocations: 1.334 MB / 1.054 GB, free: 2.441 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000468/0.4474, allocations: 198.8 kB / 1.055 GB, free: 2.238 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.4475, allocations: 87.25 kB / 1.055 GB, free: 2.152 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.4476, allocations: 7.922 kB / 1.055 GB, free: 2.145 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.308e-05/0.4476, allocations: 38.56 kB / 1.055 GB, free: 2.098 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 1.433e-06/0.4476, allocations: 0 / 1.055 GB, free: 2.098 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.0009956/0.4486, allocations: 387.5 kB / 1.055 GB, free: 1.691 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.4487, allocations: 59.28 kB / 1.055 GB, free: 1.621 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003532/0.4491, allocations: 312.5 kB / 1.055 GB, free: 1.309 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.4491, allocations: 25.7 kB / 1.055 GB, free: 1.277 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.4493, allocations: 200.3 kB / 1.056 GB, free: 1.078 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.576e-05/0.4494, allocations: 67 kB / 1.056 GB, free: 1.012 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.339e-05/0.4494, allocations: 4 kB / 1.056 GB, free: 1.008 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.4496, allocations: 342.8 kB / 1.056 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.4497, allocations: 59.97 kB / 1.056 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.4498, allocations: 115.5 kB / 1.056 GB, free: 480 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.45, allocations: 81.91 kB / 1.056 GB, free: 400 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.45, allocations: 0 / 1.056 GB, free: 400 kB / 0.698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003638/0.4504, allocations: 237 kB / 1.056 GB, free: 156 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.4505, allocations: 8 kB / 1.056 GB, free: 148 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.4505, allocations: 3.984 kB / 1.056 GB, free: 144 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.4505, allocations: 7.984 kB / 1.056 GB, free: 136 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.4507, allocations: 52.11 kB / 1.057 GB, free: 84 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.4507, allocations: 0 / 1.057 GB, free: 84 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002984/0.451, allocations: 30.84 kB / 1.057 GB, free: 56 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.451, allocations: 4 kB / 1.057 GB, free: 52 kB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 26 * 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 0.5834/1.034, allocations: 161.9 kB / 1.057 GB, free: 157.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/1.035, allocations: 31.09 kB / 1.057 GB, free: 157.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/1.035, allocations: 37.58 kB / 1.057 GB, free: 157.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/1.035, allocations: 2.375 kB / 1.057 GB, free: 157.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/1.035, allocations: 3.547 kB / 1.057 GB, free: 157.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/1.035, allocations: 0.6094 kB / 1.057 GB, free: 157.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006821/1.035, allocations: 410.7 kB / 1.057 GB, free: 156.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/1.036, allocations: 3.797 kB / 1.057 GB, free: 156.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/1.036, allocations: 34.11 kB / 1.057 GB, free: 156.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002692/1.036, allocations: 47.58 kB / 1.057 GB, free: 156.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/1.036, allocations: 7.312 kB / 1.057 GB, free: 156.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009594/1.037, allocations: 1.406 MB / 1.059 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.037, allocations: 0 / 1.059 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004962/1.038, allocations: 409.4 kB / 1.059 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/1.038, allocations: 129.6 kB / 1.059 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/1.038, allocations: 8.438 kB / 1.059 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003419/1.038, allocations: 29.61 kB / 1.059 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/1.038, allocations: 9.016 kB / 1.059 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/1.038, allocations: 6.031 kB / 1.059 GB, free: 155.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002671/1.038, allocations: 223.7 kB / 1.059 GB, free: 155.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.038, allocations: 0 / 1.059 GB, free: 155.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006072/1.039, allocations: 103.1 kB / 1.06 GB, free: 155.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * 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 (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002111/1.039, allocations: 114.6 kB / 1.06 GB, free: 155.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003302/1.04, allocations: 161.4 kB / 1.06 GB, free: 155.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.04, allocations: 0 / 1.06 GB, free: 155.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003115/1.04, allocations: 195 kB / 1.06 GB, free: 155.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/1.041, allocations: 188 kB / 1.06 GB, free: 155.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/1.042, allocations: 1.001 MB / 1.061 GB, free: 154.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/1.043, allocations: 0.7964 MB / 1.062 GB, free: 153.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.657e-05/1.043, allocations: 27.47 kB / 1.062 GB, free: 153.9 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/1.043, allocations: 1.531 kB / 1.062 GB, free: 153.9 MB / 0.698 GB Notification: Performance of Templates: time 0.01179/1.054, allocations: 5.761 MB / 1.068 GB, free: 153.4 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)