Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.System5.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.Examples.Tutorial.CDL.System5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTOut.T|boi.T|temSup.T|temRet.T|temRoo.T|conBoiRet.yVal|conEquSta.onBoi|conSysSta.onSys",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.System5") translateModel(Buildings.Examples.Tutorial.CDL.System5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTOut.T|boi.T|temSup.T|temRet.T|temRoo.T|conBoiRet.yVal|conEquSta.onBoi|conSysSta.onSys",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.System5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 114.5 kB / 16.42 MB, free: 6.496 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.001473/0.001473, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.486/1.486, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.758/2.758, allocations: 472.7 MB / 0.746 GB, free: 428 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 71.89 kB / 1.07 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.11/1.112, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System5): time 1.709/2.821, allocations: 0.5138 GB / 1.74 GB, free: 41.87 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.1219/2.943, allocations: 72.94 MB / 1.811 GB, free: 1.277 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02578/2.969, allocations: 434.7 kB / 1.812 GB, free: 1.004 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.02455/2.994, allocations: 6.008 MB / 1.818 GB, free: 11.97 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.05584/3.05, allocations: 14.67 MB / 1.832 GB, free: 13.26 MB / 1.311 GB Notification: Performance of NFTyping.typeClassSections: time 0.03334/3.083, allocations: 10.47 MB / 1.842 GB, free: 2.875 MB / 1.311 GB Notification: Performance of NFFlatten.flatten: time 0.06752/3.15, allocations: 38.38 MB / 1.88 GB, free: 12.39 MB / 1.357 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02801/3.179, allocations: 12.33 MB / 1.892 GB, free: 15.93 MB / 1.373 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03626/3.215, allocations: 12.43 MB / 1.904 GB, free: 3.5 MB / 1.373 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02172/3.237, allocations: 9.361 MB / 1.913 GB, free: 10.1 MB / 1.389 GB Notification: Performance of NFPackage.collectConstants: time 0.008037/3.245, allocations: 1.238 MB / 1.914 GB, free: 8.859 MB / 1.389 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02839/3.273, allocations: 6.611 MB / 1.921 GB, free: 2.238 MB / 1.389 GB Notification: Performance of NFScalarize.scalarize: time 0.009498/3.283, allocations: 3.664 MB / 1.924 GB, free: 14.56 MB / 1.404 GB Notification: Performance of NFVerifyModel.verify: time 0.02238/3.305, allocations: 7.328 MB / 1.931 GB, free: 7.199 MB / 1.404 GB Notification: Performance of NFConvertDAE.convert: time 0.05573/3.361, allocations: 21.17 MB / 1.952 GB, free: 1.949 MB / 1.42 GB Notification: Performance of FrontEnd - DAE generated: time 9.769e-06/3.361, allocations: 8 kB / 1.952 GB, free: 1.941 MB / 1.42 GB Notification: Performance of FrontEnd: time 3.206e-06/3.361, allocations: 0 / 1.952 GB, free: 1.941 MB / 1.42 GB Notification: Performance of Transformations before backend: time 0.0009308/3.362, allocations: 0 / 1.952 GB, free: 1.941 MB / 1.42 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1895 * Number of variables: 1895 Notification: Performance of Generate backend data structure: time 0.05089/3.413, allocations: 14.84 MB / 1.967 GB, free: 2.926 MB / 1.436 GB Notification: Performance of prepare preOptimizeDAE: time 6.527e-05/3.413, allocations: 15.98 kB / 1.967 GB, free: 2.91 MB / 1.436 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01607/3.429, allocations: 2.372 MB / 1.969 GB, free: 0.5273 MB / 1.436 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03646/3.466, allocations: 12.66 MB / 1.981 GB, free: 3.77 MB / 1.451 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009593/3.467, allocations: 0.5769 MB / 1.982 GB, free: 3.191 MB / 1.451 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003538/3.47, allocations: 0.7772 MB / 1.983 GB, free: 2.414 MB / 1.451 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02815/3.498, allocations: 8.742 MB / 1.991 GB, free: 9.379 MB / 1.467 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003761/3.499, allocations: 19.88 kB / 1.991 GB, free: 9.359 MB / 1.467 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002296/3.501, allocations: 316 kB / 1.992 GB, free: 9.051 MB / 1.467 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003373/3.501, allocations: 306 kB / 1.992 GB, free: 8.75 MB / 1.467 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02086/3.522, allocations: 7.198 MB / 1.999 GB, free: 1.539 MB / 1.467 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.08788/3.61, allocations: 42.51 MB / 2.04 GB, free: 4.215 MB / 1.514 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01004/3.62, allocations: 4.782 MB / 2.045 GB, free: 15.34 MB / 1.529 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005576/3.626, allocations: 2.462 MB / 2.047 GB, free: 12.87 MB / 1.529 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.02992/3.656, allocations: 10.72 MB / 2.058 GB, free: 1.656 MB / 1.529 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005507/3.661, allocations: 2.586 MB / 2.06 GB, free: 15.04 MB / 1.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004831/3.666, allocations: 401 kB / 2.061 GB, free: 14.64 MB / 1.545 GB Notification: Performance of pre-optimization done (n=420): time 1.35e-05/3.666, allocations: 0 / 2.061 GB, free: 14.64 MB / 1.545 GB Notification: Performance of matching and sorting (n=428): time 0.04838/3.715, allocations: 15.29 MB / 2.076 GB, free: 15.1 MB / 1.561 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001912/3.715, allocations: 282.6 kB / 2.076 GB, free: 14.77 MB / 1.561 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02134/3.736, allocations: 9.628 MB / 2.085 GB, free: 5.199 MB / 1.561 GB Notification: Performance of collectPreVariables (initialization): time 0.001285/3.738, allocations: 141.7 kB / 2.086 GB, free: 5.055 MB / 1.561 GB Notification: Performance of collectInitialEqns (initialization): time 0.007069/3.745, allocations: 5.449 MB / 2.091 GB, free: 15.58 MB / 1.576 GB Notification: Performance of collectInitialBindings (initialization): time 0.002619/3.747, allocations: 1.561 MB / 2.092 GB, free: 14.01 MB / 1.576 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00318/3.751, allocations: 1.389 MB / 2.094 GB, free: 12.61 MB / 1.576 GB Notification: Performance of setup shared object (initialization): time 0.0001182/3.751, allocations: 301.1 kB / 2.094 GB, free: 12.31 MB / 1.576 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006042/3.757, allocations: 2.595 MB / 2.097 GB, free: 9.703 MB / 1.576 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008719/3.765, allocations: 4.413 MB / 2.101 GB, free: 4.555 MB / 1.576 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01386/3.779, allocations: 6.521 MB / 2.107 GB, free: 13.39 MB / 1.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.739e-05/3.779, allocations: 12 kB / 2.107 GB, free: 13.38 MB / 1.592 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.0275/3.807, allocations: 8.986 MB / 2.116 GB, free: 4.285 MB / 1.592 GB Notification: Performance of prepare postOptimizeDAE: time 6.74e-05/3.807, allocations: 24 kB / 2.116 GB, free: 4.262 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.047e-05/3.807, allocations: 40 kB / 2.116 GB, free: 4.223 MB / 1.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01011/3.817, allocations: 1.779 MB / 2.118 GB, free: 2.43 MB / 1.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007133/3.824, allocations: 1.357 MB / 2.119 GB, free: 1.07 MB / 1.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.012/3.837, allocations: 8.229 MB / 2.127 GB, free: 8.348 MB / 1.607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009923/3.847, allocations: 432.1 kB / 2.128 GB, free: 7.926 MB / 1.607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00171/3.848, allocations: 296.1 kB / 2.128 GB, free: 7.637 MB / 1.607 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01343/3.862, allocations: 4.643 MB / 2.132 GB, free: 2.984 MB / 1.607 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009304/3.871, allocations: 4.315 MB / 2.137 GB, free: 13.93 MB / 1.623 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01409/3.885, allocations: 6.342 MB / 2.143 GB, free: 6.938 MB / 1.623 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.198e-05/3.885, allocations: 12 kB / 2.143 GB, free: 6.926 MB / 1.623 GB Notification: Performance of matching and sorting (n=864) (initialization_lambda0): time 0.03073/3.916, allocations: 8.959 MB / 2.152 GB, free: 13.86 MB / 1.639 GB Notification: Performance of prepare postOptimizeDAE: time 5.768e-05/3.916, allocations: 20 kB / 2.152 GB, free: 13.84 MB / 1.639 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.68e-05/3.916, allocations: 44 kB / 2.152 GB, free: 13.79 MB / 1.639 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009056/3.925, allocations: 1.57 MB / 2.153 GB, free: 12.21 MB / 1.639 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006193/3.932, allocations: 1.318 MB / 2.154 GB, free: 10.89 MB / 1.639 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01539/3.947, allocations: 10.46 MB / 2.165 GB, free: 15.82 MB / 1.654 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01008/3.957, allocations: 460.8 kB / 2.165 GB, free: 15.37 MB / 1.654 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001565/3.959, allocations: 284 kB / 2.165 GB, free: 15.09 MB / 1.654 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 186 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,conBoiRet.conPID.con1.y,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,boiSigCon.u,radPumCon.u,conEquSta.hys.y,$PRE.conEquSta.hys.y,conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,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 (743): * Single equations (assignments): 733 * 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 {(4,7), (13,22), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002657/3.961, allocations: 0.5693 MB / 2.166 GB, free: 14.51 MB / 1.654 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004336/3.966, allocations: 1.048 MB / 2.167 GB, free: 13.46 MB / 1.654 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01837/3.984, allocations: 6.275 MB / 2.173 GB, free: 7.121 MB / 1.654 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01159/3.996, allocations: 4.622 MB / 2.178 GB, free: 2.457 MB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/3.996, allocations: 0 / 2.178 GB, free: 2.457 MB / 1.654 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007175/4.003, allocations: 1.739 MB / 2.179 GB, free: 0.6914 MB / 1.654 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004112/4.007, allocations: 104 kB / 2.179 GB, free: 0.5898 MB / 1.654 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00803/4.015, allocations: 313.8 kB / 2.18 GB, free: 292 kB / 1.654 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001269/4.016, allocations: 347.2 kB / 2.18 GB, free: 15.95 MB / 1.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0189/4.035, allocations: 5.782 MB / 2.186 GB, free: 10.12 MB / 1.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02002/4.055, allocations: 8.084 MB / 2.194 GB, free: 1.984 MB / 1.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.313/5.369, allocations: 2.165 MB / 2.196 GB, free: 0.6636 GB / 1.67 GB Notification: Performance of sorting global known variables: time 0.01455/5.384, allocations: 6.377 MB / 2.202 GB, free: 0.6629 GB / 1.67 GB Notification: Performance of Backend: time 1.002e-06/5.384, allocations: 0 / 2.202 GB, free: 0.6629 GB / 1.67 GB Notification: Performance of simCode: created initialization part: time 0.03429/5.418, allocations: 12.29 MB / 2.214 GB, free: 0.6591 GB / 1.67 GB Notification: Performance of SimCode: time 0.04762/5.466, allocations: 24.35 MB / 2.238 GB, free: 0.649 GB / 1.67 GB Notification: Performance of Templates: time 0.2917/5.757, allocations: 221.6 MB / 2.454 GB, free: 462.8 MB / 1.67 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.System5.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.System5.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.System5.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.System5.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.System5.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.System5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.System5.pipe 2>&1)