Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.System1.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Examples.Tutorial.CDL.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTOut.T|boi.T|temSup.T|temRet.T|temRoo.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.System1") translateModel(Buildings.Examples.Tutorial.CDL.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTOut.T|boi.T|temSup.T|temRet.T|temRoo.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 106.2 kB / 16.41 MB, free: 6.5 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.001789/0.001789, allocations: 189.6 kB / 17.35 MB, free: 5.762 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.581/1.581, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.866/2.866, allocations: 461.9 MB / 0.7355 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 67.89 kB / 1.055 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.021/1.023, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System1): time 1.688/2.711, allocations: 0.5128 GB / 1.721 GB, free: 48.87 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.1212/2.832, allocations: 72.57 MB / 1.792 GB, free: 27.35 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02341/2.855, allocations: 428.9 kB / 1.793 GB, free: 27.09 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01952/2.875, allocations: 5.817 MB / 1.798 GB, free: 23.35 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.04648/2.921, allocations: 13.98 MB / 1.812 GB, free: 10.23 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.02941/2.951, allocations: 10.29 MB / 1.822 GB, free: 24 kB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.06098/3.012, allocations: 37.95 MB / 1.859 GB, free: 9.984 MB / 1.326 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02517/3.037, allocations: 11.98 MB / 1.871 GB, free: 13.86 MB / 1.342 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0358/3.073, allocations: 12.28 MB / 1.883 GB, free: 1.59 MB / 1.342 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02311/3.096, allocations: 9.203 MB / 1.892 GB, free: 8.352 MB / 1.357 GB Notification: Performance of NFPackage.collectConstants: time 0.007524/3.104, allocations: 1.191 MB / 1.893 GB, free: 7.16 MB / 1.357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02557/3.129, allocations: 6.556 MB / 1.899 GB, free: 0.5938 MB / 1.357 GB Notification: Performance of NFScalarize.scalarize: time 0.00876/3.138, allocations: 3.57 MB / 1.903 GB, free: 13.01 MB / 1.373 GB Notification: Performance of NFVerifyModel.verify: time 0.02146/3.159, allocations: 7.15 MB / 1.91 GB, free: 5.828 MB / 1.373 GB Notification: Performance of NFConvertDAE.convert: time 0.05191/3.211, allocations: 20.54 MB / 1.93 GB, free: 1.227 MB / 1.389 GB Notification: Performance of FrontEnd - DAE generated: time 1.045e-05/3.212, allocations: 4 kB / 1.93 GB, free: 1.223 MB / 1.389 GB Notification: Performance of FrontEnd: time 2.475e-06/3.212, allocations: 0 / 1.93 GB, free: 1.223 MB / 1.389 GB Notification: Performance of Transformations before backend: time 0.0009216/3.212, allocations: 0 / 1.93 GB, free: 1.223 MB / 1.389 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1815 * Number of variables: 1815 Notification: Performance of Generate backend data structure: time 0.04814/3.261, allocations: 14.05 MB / 1.943 GB, free: 3.027 MB / 1.404 GB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/3.261, allocations: 8.031 kB / 1.943 GB, free: 3.02 MB / 1.404 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01564/3.276, allocations: 2.264 MB / 1.946 GB, free: 0.7383 MB / 1.404 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03674/3.313, allocations: 12.4 MB / 1.958 GB, free: 4.227 MB / 1.42 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009815/3.314, allocations: 0.5489 MB / 1.958 GB, free: 3.676 MB / 1.42 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003902/3.318, allocations: 0.7459 MB / 1.959 GB, free: 2.93 MB / 1.42 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03382/3.352, allocations: 8.442 MB / 1.967 GB, free: 10.19 MB / 1.436 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005163/3.353, allocations: 23.78 kB / 1.967 GB, free: 10.17 MB / 1.436 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002952/3.356, allocations: 300 kB / 1.968 GB, free: 9.875 MB / 1.436 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000383/3.356, allocations: 301.4 kB / 1.968 GB, free: 9.578 MB / 1.436 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02143/3.377, allocations: 6.973 MB / 1.975 GB, free: 2.59 MB / 1.436 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.09003/3.467, allocations: 41.62 MB / 2.015 GB, free: 6.145 MB / 1.482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01082/3.478, allocations: 4.675 MB / 2.02 GB, free: 1.379 MB / 1.482 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007197/3.486, allocations: 2.34 MB / 2.022 GB, free: 15.03 MB / 1.498 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 evalFunc (simulation): time 0.04126/3.527, allocations: 10.56 MB / 2.033 GB, free: 3.988 MB / 1.498 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006833/3.534, allocations: 2.469 MB / 2.035 GB, free: 1.477 MB / 1.498 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00532/3.539, allocations: 371.8 kB / 2.035 GB, free: 1.109 MB / 1.498 GB Notification: Performance of pre-optimization done (n=395): time 2.966e-05/3.539, allocations: 4 kB / 2.035 GB, free: 1.105 MB / 1.498 GB Notification: Performance of matching and sorting (n=403): time 0.05033/3.59, allocations: 14.71 MB / 2.05 GB, free: 2.113 MB / 1.514 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000179/3.59, allocations: 248.8 kB / 2.05 GB, free: 1.82 MB / 1.514 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02541/3.615, allocations: 9.465 MB / 2.059 GB, free: 8.406 MB / 1.529 GB Notification: Performance of collectPreVariables (initialization): time 0.001548/3.617, allocations: 125.7 kB / 2.059 GB, free: 8.277 MB / 1.529 GB Notification: Performance of collectInitialEqns (initialization): time 0.007932/3.625, allocations: 5.238 MB / 2.064 GB, free: 3 MB / 1.529 GB Notification: Performance of collectInitialBindings (initialization): time 0.002771/3.628, allocations: 1.41 MB / 2.066 GB, free: 1.57 MB / 1.529 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00547/3.633, allocations: 1.345 MB / 2.067 GB, free: 220 kB / 1.529 GB Notification: Performance of setup shared object (initialization): time 0.0001405/3.633, allocations: 305.1 kB / 2.067 GB, free: 15.91 MB / 1.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006659/3.64, allocations: 2.512 MB / 2.07 GB, free: 13.39 MB / 1.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008409/3.648, allocations: 4.28 MB / 2.074 GB, free: 8.391 MB / 1.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0131/3.661, allocations: 6.36 MB / 2.08 GB, free: 1.395 MB / 1.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.246e-05/3.662, allocations: 12 kB / 2.08 GB, free: 1.383 MB / 1.545 GB Notification: Performance of matching and sorting (n=837) (initialization): time 0.03267/3.694, allocations: 9.046 MB / 2.089 GB, free: 8.211 MB / 1.561 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/3.694, allocations: 21.91 kB / 2.089 GB, free: 8.191 MB / 1.561 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001043/3.695, allocations: 48 kB / 2.089 GB, free: 8.145 MB / 1.561 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009835/3.704, allocations: 1.758 MB / 2.091 GB, free: 6.371 MB / 1.561 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006718/3.711, allocations: 1.318 MB / 2.092 GB, free: 5.051 MB / 1.561 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01142/3.723, allocations: 8.237 MB / 2.1 GB, free: 12.32 MB / 1.576 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01082/3.733, allocations: 415.7 kB / 2.101 GB, free: 11.91 MB / 1.576 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001672/3.735, allocations: 283.9 kB / 2.101 GB, free: 11.64 MB / 1.576 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01377/3.749, allocations: 4.541 MB / 2.105 GB, free: 7.086 MB / 1.576 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008577/3.758, allocations: 4.198 MB / 2.109 GB, free: 2.168 MB / 1.576 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01273/3.77, allocations: 6.211 MB / 2.115 GB, free: 11.38 MB / 1.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.626e-05/3.77, allocations: 15.94 kB / 2.115 GB, free: 11.36 MB / 1.592 GB Notification: Performance of matching and sorting (n=837) (initialization_lambda0): time 0.02823/3.799, allocations: 8.729 MB / 2.124 GB, free: 2.594 MB / 1.592 GB Notification: Performance of prepare postOptimizeDAE: time 7.549e-05/3.799, allocations: 24 kB / 2.124 GB, free: 2.57 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.374e-05/3.799, allocations: 40 kB / 2.124 GB, free: 2.531 MB / 1.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008688/3.808, allocations: 1.573 MB / 2.126 GB, free: 0.9414 MB / 1.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006145/3.814, allocations: 1.295 MB / 2.127 GB, free: 15.64 MB / 1.607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01535/3.829, allocations: 10.49 MB / 2.137 GB, free: 4.551 MB / 1.607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01148/3.841, allocations: 432.4 kB / 2.137 GB, free: 4.129 MB / 1.607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001598/3.842, allocations: 275.9 kB / 2.138 GB, free: 3.859 MB / 1.607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 185 * Number of states: 0 () * Number of discrete variables: 22 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (716): * Single equations (assignments): 706 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,8), (13,22), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.003375/3.846, allocations: 0.5481 MB / 2.138 GB, free: 3.301 MB / 1.607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004855/3.851, allocations: 0.976 MB / 2.139 GB, free: 2.312 MB / 1.607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0183/3.869, allocations: 6.045 MB / 2.145 GB, free: 12.21 MB / 1.623 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01076/3.88, allocations: 4.476 MB / 2.15 GB, free: 7.684 MB / 1.623 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.417e-05/3.88, allocations: 0 / 2.15 GB, free: 7.684 MB / 1.623 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006932/3.887, allocations: 1.652 MB / 2.151 GB, free: 6 MB / 1.623 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004666/3.891, allocations: 95.98 kB / 2.151 GB, free: 5.906 MB / 1.623 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009075/3.9, allocations: 289.2 kB / 2.152 GB, free: 5.625 MB / 1.623 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001323/3.902, allocations: 319 kB / 2.152 GB, free: 5.312 MB / 1.623 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01697/3.919, allocations: 5.562 MB / 2.157 GB, free: 15.7 MB / 1.639 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01872/3.938, allocations: 7.714 MB / 2.165 GB, free: 7.934 MB / 1.639 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004134/3.942, allocations: 2.066 MB / 2.167 GB, free: 5.863 MB / 1.639 GB Notification: Performance of sorting global known variables: time 0.0172/3.959, allocations: 6.28 MB / 2.173 GB, free: 15.64 MB / 1.654 GB Notification: Performance of Backend: time 1.673e-06/3.959, allocations: 3.938 kB / 2.173 GB, free: 15.63 MB / 1.654 GB Notification: Performance of simCode: created initialization part: time 0.0456/4.005, allocations: 12.11 MB / 2.185 GB, free: 3.832 MB / 1.654 GB Notification: Performance of SimCode: time 0.933/4.938, allocations: 23.49 MB / 2.208 GB, free: 0.6667 GB / 1.654 GB Notification: Performance of Templates: time 0.3145/5.252, allocations: 222.5 MB / 2.425 GB, free: 494.3 MB / 1.654 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.System1.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.System1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.System1.pipe 2>&1)