Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.System3.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.System3,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.System3") translateModel(Buildings.Examples.Tutorial.CDL.System3,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.System3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 114.5 kB / 16.42 MB, free: 6.039 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.00171/0.00171, allocations: 186.2 kB / 17.34 MB, free: 5.625 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.492/1.492, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.779/2.779, allocations: 472.7 MB / 0.746 GB, free: 400 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 67.89 kB / 1.07 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01/1.012, allocations: 159.9 MB / 1.226 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System3): time 1.513/2.525, allocations: 0.5136 GB / 1.74 GB, free: 41.85 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.1659/2.691, allocations: 72.85 MB / 1.811 GB, free: 1.375 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02849/2.719, allocations: 434.8 kB / 1.812 GB, free: 1.102 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.02537/2.745, allocations: 6.002 MB / 1.817 GB, free: 12.11 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.05985/2.805, allocations: 14.67 MB / 1.832 GB, free: 13.39 MB / 1.311 GB Notification: Performance of NFTyping.typeClassSections: time 0.03539/2.84, allocations: 10.43 MB / 1.842 GB, free: 3.051 MB / 1.311 GB Notification: Performance of NFFlatten.flatten: time 0.0686/2.909, allocations: 38.27 MB / 1.879 GB, free: 12.68 MB / 1.357 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03356/2.942, allocations: 12.24 MB / 1.891 GB, free: 308 kB / 1.357 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03742/2.98, allocations: 12.39 MB / 1.903 GB, free: 3.906 MB / 1.373 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02318/3.003, allocations: 9.316 MB / 1.912 GB, free: 10.55 MB / 1.389 GB Notification: Performance of NFPackage.collectConstants: time 0.007826/3.011, allocations: 1.227 MB / 1.914 GB, free: 9.324 MB / 1.389 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02629/3.037, allocations: 6.592 MB / 1.92 GB, free: 2.723 MB / 1.389 GB Notification: Performance of NFScalarize.scalarize: time 0.009678/3.047, allocations: 3.644 MB / 1.924 GB, free: 15.07 MB / 1.404 GB Notification: Performance of NFVerifyModel.verify: time 0.02275/3.07, allocations: 7.278 MB / 1.931 GB, free: 7.754 MB / 1.404 GB Notification: Performance of NFConvertDAE.convert: time 0.05552/3.125, allocations: 21.03 MB / 1.951 GB, free: 2.648 MB / 1.42 GB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/3.126, allocations: 0 / 1.951 GB, free: 2.648 MB / 1.42 GB Notification: Performance of FrontEnd: time 2.074e-06/3.126, allocations: 4 kB / 1.951 GB, free: 2.645 MB / 1.42 GB Notification: Performance of Transformations before backend: time 0.0009541/3.127, allocations: 0 / 1.951 GB, free: 2.645 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: 1875 * Number of variables: 1875 Notification: Performance of Generate backend data structure: time 0.05454/3.181, allocations: 14.75 MB / 1.966 GB, free: 3.723 MB / 1.436 GB Notification: Performance of prepare preOptimizeDAE: time 7.301e-05/3.181, allocations: 11.98 kB / 1.966 GB, free: 3.711 MB / 1.436 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01571/3.197, allocations: 2.369 MB / 1.968 GB, free: 1.332 MB / 1.436 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03807/3.235, allocations: 12.61 MB / 1.98 GB, free: 4.621 MB / 1.451 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009786/3.236, allocations: 0.565 MB / 1.981 GB, free: 4.055 MB / 1.451 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004042/3.24, allocations: 0.7694 MB / 1.982 GB, free: 3.285 MB / 1.451 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03052/3.271, allocations: 8.678 MB / 1.99 GB, free: 10.31 MB / 1.467 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004632/3.271, allocations: 19.83 kB / 1.99 GB, free: 10.29 MB / 1.467 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003122/3.274, allocations: 312 kB / 1.99 GB, free: 9.984 MB / 1.467 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004147/3.275, allocations: 301.8 kB / 1.991 GB, free: 9.688 MB / 1.467 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02302/3.298, allocations: 7.147 MB / 1.998 GB, free: 2.527 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.1027/3.401, allocations: 42.45 MB / 2.039 GB, free: 5.266 MB / 1.514 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01177/3.412, allocations: 4.701 MB / 2.044 GB, free: 484 kB / 1.514 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006649/3.419, allocations: 2.411 MB / 2.046 GB, free: 14.06 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.04293/3.462, allocations: 10.74 MB / 2.057 GB, free: 2.82 MB / 1.529 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008347/3.471, allocations: 2.525 MB / 2.059 GB, free: 264 kB / 1.529 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008668/3.479, allocations: 401.1 kB / 2.059 GB, free: 15.86 MB / 1.545 GB Notification: Performance of pre-optimization done (n=406): time 5.386e-05/3.479, allocations: 0 / 2.059 GB, free: 15.86 MB / 1.545 GB Notification: Performance of matching and sorting (n=414): time 0.06134/3.541, allocations: 15.16 MB / 2.074 GB, free: 456 kB / 1.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002378/3.541, allocations: 278.6 kB / 2.075 GB, free: 120 kB / 1.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0281/3.569, allocations: 9.643 MB / 2.084 GB, free: 6.531 MB / 1.561 GB Notification: Performance of collectPreVariables (initialization): time 0.00164/3.571, allocations: 129.7 kB / 2.084 GB, free: 6.398 MB / 1.561 GB Notification: Performance of collectInitialEqns (initialization): time 0.009704/3.581, allocations: 5.455 MB / 2.089 GB, free: 0.918 MB / 1.561 GB Notification: Performance of collectInitialBindings (initialization): time 0.0033/3.584, allocations: 1.511 MB / 2.091 GB, free: 15.39 MB / 1.576 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006716/3.591, allocations: 1.373 MB / 2.092 GB, free: 14.01 MB / 1.576 GB Notification: Performance of setup shared object (initialization): time 0.0001429/3.591, allocations: 308.9 kB / 2.093 GB, free: 13.71 MB / 1.576 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007562/3.598, allocations: 2.567 MB / 2.095 GB, free: 11.12 MB / 1.576 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009547/3.608, allocations: 4.359 MB / 2.099 GB, free: 6.039 MB / 1.576 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01466/3.623, allocations: 6.484 MB / 2.106 GB, free: 14.92 MB / 1.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.711e-05/3.623, allocations: 12 kB / 2.106 GB, free: 14.91 MB / 1.592 GB Notification: Performance of matching and sorting (n=854) (initialization): time 0.0375/3.66, allocations: 9.25 MB / 2.115 GB, free: 5.543 MB / 1.592 GB Notification: Performance of prepare postOptimizeDAE: time 0.000131/3.661, allocations: 20 kB / 2.115 GB, free: 5.523 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00013/3.661, allocations: 40 kB / 2.115 GB, free: 5.484 MB / 1.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01081/3.672, allocations: 1.774 MB / 2.116 GB, free: 3.695 MB / 1.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006914/3.679, allocations: 1.357 MB / 2.118 GB, free: 2.336 MB / 1.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01441/3.693, allocations: 8.365 MB / 2.126 GB, free: 9.473 MB / 1.607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01333/3.706, allocations: 416.5 kB / 2.126 GB, free: 9.066 MB / 1.607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002134/3.709, allocations: 291.9 kB / 2.127 GB, free: 8.781 MB / 1.607 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01412/3.723, allocations: 4.612 MB / 2.131 GB, free: 4.16 MB / 1.607 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009573/3.732, allocations: 4.257 MB / 2.135 GB, free: 15.17 MB / 1.623 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0138/3.746, allocations: 6.305 MB / 2.141 GB, free: 8.219 MB / 1.623 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.663e-05/3.746, allocations: 15.94 kB / 2.141 GB, free: 8.203 MB / 1.623 GB Notification: Performance of matching and sorting (n=854) (initialization_lambda0): time 0.02852/3.775, allocations: 8.582 MB / 2.15 GB, free: 15.51 MB / 1.639 GB Notification: Performance of prepare postOptimizeDAE: time 7.558e-05/3.775, allocations: 27.94 kB / 2.15 GB, free: 15.48 MB / 1.639 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.201e-05/3.775, allocations: 40 kB / 2.15 GB, free: 15.44 MB / 1.639 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009244/3.784, allocations: 1.585 MB / 2.151 GB, free: 13.84 MB / 1.639 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006495/3.791, allocations: 1.314 MB / 2.153 GB, free: 12.52 MB / 1.639 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01682/3.808, allocations: 10.55 MB / 2.163 GB, free: 1.371 MB / 1.639 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01163/3.82, allocations: 452.5 kB / 2.163 GB, free: 0.9297 MB / 1.639 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001793/3.821, allocations: 276.1 kB / 2.164 GB, free: 0.6602 MB / 1.639 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 186 * Number of states: 0 () * Number of discrete variables: 23 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,conBoiRet.conPID.con1.y,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 (733): * Single equations (assignments): 723 * 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 {(5,6), (13,22), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.003613/3.825, allocations: 0.5675 MB / 2.164 GB, free: 84 kB / 1.639 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004922/3.83, allocations: 1.04 MB / 2.165 GB, free: 15.03 MB / 1.654 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02036/3.85, allocations: 6.174 MB / 2.171 GB, free: 8.801 MB / 1.654 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01363/3.864, allocations: 4.549 MB / 2.176 GB, free: 4.203 MB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.377e-05/3.864, allocations: 0 / 2.176 GB, free: 4.203 MB / 1.654 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00837/3.872, allocations: 1.735 MB / 2.177 GB, free: 2.441 MB / 1.654 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005225/3.878, allocations: 95.98 kB / 2.178 GB, free: 2.348 MB / 1.654 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009417/3.887, allocations: 304.1 kB / 2.178 GB, free: 2.051 MB / 1.654 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001568/3.889, allocations: 331.1 kB / 2.178 GB, free: 1.727 MB / 1.654 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01841/3.907, allocations: 5.682 MB / 2.184 GB, free: 12 MB / 1.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02023/3.928, allocations: 7.947 MB / 2.191 GB, free: 4.004 MB / 1.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004736/3.932, allocations: 2.129 MB / 2.194 GB, free: 1.871 MB / 1.67 GB Notification: Performance of sorting global known variables: time 1.778/5.711, allocations: 6.384 MB / 2.2 GB, free: 0.6627 GB / 1.67 GB Notification: Performance of Backend: time 2.294e-06/5.711, allocations: 0 / 2.2 GB, free: 0.6627 GB / 1.67 GB Notification: Performance of simCode: created initialization part: time 0.04141/5.752, allocations: 12.33 MB / 2.212 GB, free: 0.6591 GB / 1.67 GB Notification: Performance of SimCode: time 0.04864/5.801, allocations: 24.26 MB / 2.236 GB, free: 0.6491 GB / 1.67 GB Notification: Performance of Templates: time 0.3794/6.18, allocations: 219.3 MB / 2.45 GB, free: 466.8 MB / 1.67 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.System3.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.System3.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.System3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.System3.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.System3.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.System3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.System3.pipe 2>&1)