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.694/1.694, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.001055/0.001055, allocations: 175.9 kB / 326.5 MB, free: 2.688 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.65/1.65, 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.000728/0.0007281, allocations: 86.36 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003131/0.0003131, allocations: 9.812 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1956, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1582/0.3538, allocations: 159.9 MB / 1.053 GB, free: 3.676 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004602/0.3584, allocations: 2.97 MB / 1.056 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000641/0.3591, allocations: 11.94 kB / 1.056 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0008203/0.3599, allocations: 179.1 kB / 1.056 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.4674/0.8274, allocations: 0.7166 MB / 1.057 GB, free: 2.328 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.8285, allocations: 330.8 kB / 1.057 GB, free: 2.328 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001571/0.8301, allocations: 1.292 MB / 1.058 GB, free: 2.328 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003351/0.8304, allocations: 223.5 kB / 1.058 GB, free: 2.312 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005138/0.8309, allocations: 303.1 kB / 1.059 GB, free: 2.312 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001201/0.8322, allocations: 289.2 kB / 1.059 GB, free: 2.312 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.762e-05/0.8322, allocations: 10.75 kB / 1.059 GB, free: 2.312 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002188/0.8344, allocations: 0.746 MB / 1.06 GB, free: 2.312 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002866/0.8347, allocations: 112.8 kB / 1.06 GB, free: 2.312 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003264/0.8351, allocations: 191.7 kB / 1.06 GB, free: 2.312 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001362/0.8364, allocations: 0.5712 MB / 1.061 GB, free: 2.293 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.8364, allocations: 0 / 1.061 GB, free: 2.293 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.046e-06/0.8365, allocations: 0.6562 kB / 1.061 GB, free: 2.293 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.769e-06/0.8365, allocations: 0 / 1.061 GB, free: 2.293 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.00143/0.8379, allocations: 0.6454 MB / 1.061 GB, free: 17.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.838, allocations: 12.69 kB / 1.061 GB, free: 17.8 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.839, allocations: 138.2 kB / 1.061 GB, free: 17.78 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005992/0.8396, allocations: 401 kB / 1.062 GB, free: 17.54 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/0.8397, allocations: 21.81 kB / 1.062 GB, free: 17.53 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.895e-05/0.8397, allocations: 28.48 kB / 1.062 GB, free: 17.53 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004938/0.8402, allocations: 282.3 kB / 1.062 GB, free: 17.48 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.8403, allocations: 3 kB / 1.062 GB, free: 17.48 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.966e-05/0.8403, allocations: 15.84 kB / 1.062 GB, free: 17.47 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.556e-05/0.8403, allocations: 9.5 kB / 1.062 GB, free: 17.47 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003439/0.8407, allocations: 193 kB / 1.062 GB, free: 17.47 MB / 0.7136 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.001829/0.8425, allocations: 1.333 MB / 1.064 GB, free: 16.62 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004442/0.843, allocations: 204 kB / 1.064 GB, free: 16.6 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.8431, allocations: 86.58 kB / 1.064 GB, free: 16.59 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.8431, allocations: 6.688 kB / 1.064 GB, free: 16.59 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.8432, allocations: 37.61 kB / 1.064 GB, free: 16.55 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=19): time 2.194e-06/0.8432, allocations: 0 / 1.064 GB, free: 16.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19): time 0.001035/0.8442, allocations: 394.3 kB / 1.064 GB, free: 16.39 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.8443, allocations: 54.34 kB / 1.064 GB, free: 16.33 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003994/0.8447, allocations: 305.3 kB / 1.065 GB, free: 16.23 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.8447, allocations: 30.39 kB / 1.065 GB, free: 16.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.8449, allocations: 196.8 kB / 1.065 GB, free: 16.07 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.993e-05/0.845, allocations: 69.38 kB / 1.065 GB, free: 16.03 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.845, allocations: 26.31 kB / 1.065 GB, free: 16.02 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.8451, allocations: 343.9 kB / 1.065 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.8453, allocations: 59.48 kB / 1.065 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.8454, allocations: 120.8 kB / 1.065 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002776/0.8457, allocations: 192.2 kB / 1.066 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.8457, allocations: 0.5625 kB / 1.066 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004052/0.8461, allocations: 246.2 kB / 1.066 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.8462, allocations: 6.125 kB / 1.066 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.8462, allocations: 1.594 kB / 1.066 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.8462, allocations: 3.797 kB / 1.066 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/0.8464, allocations: 44.84 kB / 1.066 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.8465, allocations: 3.047 kB / 1.066 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003182/0.8468, allocations: 33.22 kB / 1.066 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.8468, allocations: 9.531 kB / 1.066 GB, free: 15.51 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001816/0.847, allocations: 164.5 kB / 1.066 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-05/0.8471, allocations: 31.88 kB / 1.066 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.246e-05/0.8472, allocations: 37.67 kB / 1.066 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.8472, allocations: 2.5 kB / 1.066 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.8472, allocations: 1.719 kB / 1.066 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.8472, allocations: 1.922 kB / 1.066 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005975/0.8478, allocations: 407.7 kB / 1.067 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.8478, allocations: 0 / 1.067 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001956/0.848, allocations: 37.03 kB / 1.067 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002301/0.8482, allocations: 45.2 kB / 1.067 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.8483, allocations: 2.141 kB / 1.067 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001194/0.8495, allocations: 1.417 MB / 1.068 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.8495, allocations: 5.797 kB / 1.068 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006211/0.8501, allocations: 411.8 kB / 1.068 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.8503, allocations: 134.6 kB / 1.069 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.129e-05/0.8503, allocations: 5.844 kB / 1.069 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003013/0.8506, allocations: 19.36 kB / 1.069 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.8507, allocations: 11.08 kB / 1.069 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.8507, allocations: 10.86 kB / 1.069 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002951/0.851, allocations: 213.5 kB / 1.069 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.851, allocations: 6.906 kB / 1.069 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004496/0.8515, allocations: 110.2 kB / 1.069 GB, free: 13.53 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002325/0.8517, allocations: 112.8 kB / 1.069 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003235/0.8521, allocations: 159.3 kB / 1.069 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.8521, allocations: 0.7812 kB / 1.069 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003169/0.8524, allocations: 198 kB / 1.069 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.8534, allocations: 196.8 kB / 1.07 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.8548, allocations: 0.8861 MB / 1.07 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004157/0.8552, allocations: 0.7977 MB / 1.071 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.843e-05/0.8553, allocations: 27.75 kB / 1.071 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of SimCode: time 2.91e-07/0.8553, allocations: 1.969 kB / 1.071 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of Templates: time 0.0121/0.8674, allocations: 5.765 MB / 1.077 GB, free: 11.59 MB / 0.7136 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)