Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.DHC.ETS.Cooling.Examples.Direct.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.DHC.ETS.Cooling.Examples.Direct,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.DHC.ETS.Cooling.Examples.Direct") translateModel(Buildings.DHC.ETS.Cooling.Examples.Direct,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.DHC.ETS.Cooling.Examples.Direct") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002018/0.002018, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002403/0.002403, allocations: 194.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.898/2.898, allocations: 472.6 MB / 0.7451 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 64.8 kB / 0.912 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3795, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.ETS.Cooling.Examples.Direct): time 0.145/0.5246, allocations: 155.2 MB / 1.22 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.8326/1.357, allocations: 34.19 MB / 1.253 GB, free: 33.47 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008755/1.366, allocations: 167.8 kB / 1.253 GB, free: 33.47 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01579/1.382, allocations: 5.512 MB / 1.259 GB, free: 33.45 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01847/1.4, allocations: 5.282 MB / 1.264 GB, free: 33.36 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01258/1.413, allocations: 4.296 MB / 1.268 GB, free: 33.27 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.025/1.438, allocations: 13.41 MB / 1.281 GB, free: 33.22 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007807/1.446, allocations: 3.634 MB / 1.285 GB, free: 32.84 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01305/1.459, allocations: 4.2 MB / 1.289 GB, free: 32.68 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0072/1.466, allocations: 2.932 MB / 1.292 GB, free: 32.13 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001441/1.468, allocations: 400.4 kB / 1.292 GB, free: 32.13 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01072/1.478, allocations: 2.925 MB / 1.295 GB, free: 32.08 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002368/1.481, allocations: 1.15 MB / 1.296 GB, free: 31.91 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.007142/1.488, allocations: 2.392 MB / 1.298 GB, free: 31.24 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01713/1.505, allocations: 7.334 MB / 1.306 GB, free: 30.3 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/1.505, allocations: 0 / 1.306 GB, free: 30.3 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.733e-06/1.505, allocations: 4 kB / 1.306 GB, free: 30.29 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003481/1.505, allocations: 0 / 1.306 GB, free: 30.29 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 567 * Number of variables: 567 Notification: Performance of Generate backend data structure: time 0.01739/1.523, allocations: 4.958 MB / 1.31 GB, free: 27.99 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/1.523, allocations: 8.75 kB / 1.31 GB, free: 27.99 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002781/1.526, allocations: 0.584 MB / 1.311 GB, free: 27.73 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01043/1.536, allocations: 4.446 MB / 1.315 GB, free: 26.92 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000231/1.536, allocations: 183.2 kB / 1.315 GB, free: 26.91 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006872/1.537, allocations: 248.2 kB / 1.316 GB, free: 26.91 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005214/1.542, allocations: 2.48 MB / 1.318 GB, free: 26.54 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.689e-05/1.542, allocations: 2.688 kB / 1.318 GB, free: 26.54 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002302/1.543, allocations: 91.16 kB / 1.318 GB, free: 26.54 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001017/1.543, allocations: 92.14 kB / 1.318 GB, free: 26.53 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003877/1.547, allocations: 1.85 MB / 1.32 GB, free: 26.49 MB / 0.9981 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.01729/1.564, allocations: 13.25 MB / 1.333 GB, free: 17.64 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001996/1.566, allocations: 1.229 MB / 1.334 GB, free: 16.97 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/1.567, allocations: 0.6779 MB / 1.335 GB, free: 16.63 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006201/1.573, allocations: 4.216 MB / 1.339 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001229/1.574, allocations: 0.7277 MB / 1.34 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=123): time 2.735e-06/1.574, allocations: 0 / 1.34 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of matching and sorting (n=123): time 0.005235/1.58, allocations: 2.169 MB / 1.342 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/1.58, allocations: 121.2 kB / 1.342 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004941/1.585, allocations: 3.513 MB / 1.345 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001828/1.585, allocations: 62.98 kB / 1.345 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001379/1.586, allocations: 1.747 MB / 1.347 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004838/1.587, allocations: 448.8 kB / 1.348 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006035/1.587, allocations: 470.5 kB / 1.348 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.731e-05/1.587, allocations: 305.1 kB / 1.348 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/1.589, allocations: 0.7546 MB / 1.349 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001548/1.59, allocations: 1.389 MB / 1.35 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002501/1.593, allocations: 2.032 MB / 1.352 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/1.593, allocations: 2.438 kB / 1.352 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of matching and sorting (n=287) (initialization): time 0.004714/1.597, allocations: 2.601 MB / 1.355 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/1.598, allocations: 11.66 kB / 1.355 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/1.598, allocations: 16.5 kB / 1.355 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005005/1.598, allocations: 119.2 kB / 1.355 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/1.599, allocations: 455.3 kB / 1.356 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004319/1.6, allocations: 0.6578 MB / 1.356 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002906/1.603, allocations: 269.8 kB / 1.356 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001725/1.603, allocations: 91.11 kB / 1.357 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002645/1.606, allocations: 1.454 MB / 1.358 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001572/1.607, allocations: 1.37 MB / 1.359 GB, free: 15.76 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002802/1.61, allocations: 1.989 MB / 1.361 GB, free: 14.43 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.929e-06/1.61, allocations: 5.469 kB / 1.361 GB, free: 14.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=287) (initialization_lambda0): time 0.005041/1.615, allocations: 2.527 MB / 1.364 GB, free: 12.65 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/1.615, allocations: 13.7 kB / 1.364 GB, free: 12.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.297e-05/1.615, allocations: 16 kB / 1.364 GB, free: 12.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001984/1.615, allocations: 60.84 kB / 1.364 GB, free: 12.56 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/1.617, allocations: 461 kB / 1.364 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001638/1.619, allocations: 1.743 MB / 1.366 GB, free: 10.27 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00301/1.622, allocations: 218.9 kB / 1.366 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001806/1.622, allocations: 87.98 kB / 1.366 GB, free: 9.969 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.QCoo.nextTimeEvent,$whenCondition1,cooETS.con.con1.y,cooETS.int.local_reset,QCoo.nextTimeEventScaled,$PRE.QCoo.nextTimeEventScaled,QCoo.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (247): * Single equations (assignments): 244 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0006309/1.622, allocations: 308.1 kB / 1.367 GB, free: 9.691 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008741/1.623, allocations: 367.3 kB / 1.367 GB, free: 9.328 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004045/1.627, allocations: 1.874 MB / 1.369 GB, free: 7.457 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.658e-05/1.627, allocations: 16 kB / 1.369 GB, free: 7.441 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.627, allocations: 0 / 1.369 GB, free: 7.441 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002292/1.63, allocations: 1.252 MB / 1.37 GB, free: 6.176 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00939/1.639, allocations: 4.763 MB / 1.375 GB, free: 1.355 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/1.639, allocations: 0 / 1.375 GB, free: 1.355 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/1.64, allocations: 245.2 kB / 1.375 GB, free: 1.129 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002642/1.641, allocations: 88.73 kB / 1.375 GB, free: 1.039 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.389e-05/1.641, allocations: 39.98 kB / 1.375 GB, free: 1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005227/1.641, allocations: 0.6317 MB / 1.376 GB, free: 356 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/1.641, allocations: 4 kB / 1.376 GB, free: 352 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005516/1.647, allocations: 2.72 MB / 1.378 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001679/1.648, allocations: 0.6288 MB / 1.379 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004474/1.649, allocations: 31.98 kB / 1.379 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001367/1.65, allocations: 75.88 kB / 1.379 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/1.65, allocations: 91.44 kB / 1.379 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/1.651, allocations: 59.95 kB / 1.379 GB, free: 12.69 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.004126/1.655, allocations: 2.337 MB / 1.381 GB, free: 10.34 MB / 1.029 GB Notification: Performance of sort global known variables: time 5.41e-07/1.655, allocations: 0 / 1.381 GB, free: 10.34 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.007683/1.662, allocations: 1.858 MB / 1.383 GB, free: 8.484 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 14 (cooETS.senTDisSup.T,cooETS.jun.vol.dynBal.U,cooETS.senTDisRet.T,cooETS.spl.vol.dynBal.U,cooETS.conVal.filter.s[1],cooETS.conVal.filter.s[2],cooETS.senTBuiRet.T,cooETS.int.y,cooETS.con.I.y,cooETS.senTBuiSup.T,pum.vol.dynBal.U,pum.filter.s[1],pum.filter.s[2],loa.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,QCoo.nextTimeEvent,QCoo.nextTimeEventScaled) * Number of discrete states: 2 (QCoo.nextTimeEvent,QCoo.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003882/1.666, allocations: 1.274 MB / 1.384 GB, free: 7.445 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00847/1.675, allocations: 3.245 MB / 1.388 GB, free: 4.324 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.248e-05/1.675, allocations: 0 / 1.388 GB, free: 4.324 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.00143/1.676, allocations: 0.6929 MB / 1.388 GB, free: 3.656 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01022/1.686, allocations: 1.859 MB / 1.39 GB, free: 1.863 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01183/1.698, allocations: 6.484 MB / 1.396 GB, free: 11.4 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00202/1.7, allocations: 2.192 MB / 1.399 GB, free: 9.18 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.004208/1.705, allocations: 0.8504 MB / 1.399 GB, free: 8.332 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007773/1.705, allocations: 281.9 kB / 1.4 GB, free: 8.059 MB / 1.045 GB Notification: Performance of SimCode: time 1.723e-06/1.705, allocations: 0 / 1.4 GB, free: 8.059 MB / 1.045 GB Notification: Performance of Templates: time 0.1252/1.831, allocations: 71.76 MB / 1.47 GB, free: 1.477 MB / 1.107 GB make -j1 -f Buildings_1.6_Buildings.DHC.ETS.Cooling.Examples.Direct.makefile (rm -f Buildings_1.6_Buildings.DHC.ETS.Cooling.Examples.Direct.pipe ; mkfifo Buildings_1.6_Buildings.DHC.ETS.Cooling.Examples.Direct.pipe ; head -c 1048576 < Buildings_1.6_Buildings.DHC.ETS.Cooling.Examples.Direct.pipe >> ../files/Buildings_1.6_Buildings.DHC.ETS.Cooling.Examples.Direct.sim & ./Buildings_1.6_Buildings.DHC.ETS.Cooling.Examples.Direct -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.DHC.ETS.Cooling.Examples.Direct.pipe 2>&1)