Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.System4.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.System4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTOut.T|boi.T|temSup.T|temRet.T|temRoo.T|conBoiRet.yVal|conEquSta.onBoi",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.System4") translateModel(Buildings.Examples.Tutorial.CDL.System4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTOut.T|boi.T|temSup.T|temRet.T|temRoo.T|conBoiRet.yVal|conEquSta.onBoi",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.System4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001782/0.001781, allocations: 109.6 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.002177/0.002178, allocations: 193.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.54/1.54, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.707/2.707, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002318/0.002318, allocations: 64.12 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.252/1.255, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System4): time 1.65/2.905, allocations: 0.5137 GB / 1.722 GB, free: 48.89 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.09724/3.002, allocations: 72.87 MB / 1.793 GB, free: 26.77 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02149/3.023, allocations: 436.5 kB / 1.794 GB, free: 26.5 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01911/3.043, allocations: 5.859 MB / 1.799 GB, free: 22.55 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.0407/3.083, allocations: 14 MB / 1.813 GB, free: 8.973 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.02549/3.109, allocations: 10.43 MB / 1.823 GB, free: 14.63 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.05609/3.165, allocations: 38.27 MB / 1.861 GB, free: 8.27 MB / 1.326 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02682/3.192, allocations: 12.27 MB / 1.873 GB, free: 11.86 MB / 1.342 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03322/3.225, allocations: 12.4 MB / 1.885 GB, free: 15.47 MB / 1.357 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01764/3.243, allocations: 9.322 MB / 1.894 GB, free: 6.113 MB / 1.357 GB Notification: Performance of NFPackage.collectConstants: time 0.00548/3.248, allocations: 1.234 MB / 1.895 GB, free: 4.879 MB / 1.357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02774/3.276, allocations: 6.599 MB / 1.901 GB, free: 14.27 MB / 1.373 GB Notification: Performance of NFScalarize.scalarize: time 0.00808/3.284, allocations: 3.652 MB / 1.905 GB, free: 10.61 MB / 1.373 GB Notification: Performance of NFVerifyModel.verify: time 0.01756/3.302, allocations: 7.29 MB / 1.912 GB, free: 3.281 MB / 1.373 GB Notification: Performance of NFConvertDAE.convert: time 0.04328/3.345, allocations: 20.99 MB / 1.933 GB, free: 14.23 MB / 1.404 GB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/3.345, allocations: 4 kB / 1.933 GB, free: 14.22 MB / 1.404 GB Notification: Performance of FrontEnd: time 2.174e-06/3.345, allocations: 0 / 1.933 GB, free: 14.22 MB / 1.404 GB Notification: Performance of Transformations before backend: time 0.0007693/3.346, allocations: 0 / 1.933 GB, free: 14.22 MB / 1.404 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1881 * Number of variables: 1881 Notification: Performance of Generate backend data structure: time 0.03803/3.384, allocations: 14.33 MB / 1.947 GB, free: 15.74 MB / 1.42 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/3.384, allocations: 8.031 kB / 1.947 GB, free: 15.73 MB / 1.42 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01436/3.398, allocations: 2.294 MB / 1.949 GB, free: 13.42 MB / 1.42 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03466/3.433, allocations: 12.53 MB / 1.961 GB, free: 0.7773 MB / 1.42 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008028/3.434, allocations: 0.569 MB / 1.962 GB, free: 212 kB / 1.42 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003584/3.437, allocations: 0.781 MB / 1.962 GB, free: 15.43 MB / 1.436 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02612/3.464, allocations: 8.69 MB / 1.971 GB, free: 6.445 MB / 1.436 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003661/3.464, allocations: 19.78 kB / 1.971 GB, free: 6.426 MB / 1.436 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00248/3.467, allocations: 312 kB / 1.971 GB, free: 6.121 MB / 1.436 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003721/3.467, allocations: 305.9 kB / 1.972 GB, free: 5.82 MB / 1.436 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02384/3.491, allocations: 7.159 MB / 1.979 GB, free: 14.65 MB / 1.451 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.07825/3.569, allocations: 42.34 MB / 2.02 GB, free: 1.48 MB / 1.482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00943/3.579, allocations: 4.718 MB / 2.025 GB, free: 12.67 MB / 1.498 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005184/3.584, allocations: 2.438 MB / 2.027 GB, free: 10.23 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.03221/3.616, allocations: 10.76 MB / 2.037 GB, free: 14.97 MB / 1.514 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006254/3.622, allocations: 2.554 MB / 2.04 GB, free: 12.38 MB / 1.514 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004336/3.627, allocations: 387.7 kB / 2.04 GB, free: 12 MB / 1.514 GB Notification: Performance of pre-optimization done (n=413): time 1.867e-05/3.627, allocations: 3.938 kB / 2.04 GB, free: 11.99 MB / 1.514 GB Notification: Performance of matching and sorting (n=421): time 0.04487/3.672, allocations: 15.03 MB / 2.055 GB, free: 12.68 MB / 1.529 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002233/3.672, allocations: 278.6 kB / 2.055 GB, free: 12.35 MB / 1.529 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02573/3.698, allocations: 9.614 MB / 2.065 GB, free: 2.793 MB / 1.529 GB Notification: Performance of collectPreVariables (initialization): time 0.001436/3.699, allocations: 133.6 kB / 2.065 GB, free: 2.656 MB / 1.529 GB Notification: Performance of collectInitialEqns (initialization): time 0.00804/3.707, allocations: 5.336 MB / 2.07 GB, free: 13.29 MB / 1.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002823/3.71, allocations: 1.471 MB / 2.071 GB, free: 11.79 MB / 1.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004855/3.715, allocations: 1.361 MB / 2.073 GB, free: 10.42 MB / 1.545 GB Notification: Performance of setup shared object (initialization): time 0.0001193/3.715, allocations: 313.1 kB / 2.073 GB, free: 10.11 MB / 1.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006335/3.721, allocations: 2.579 MB / 2.076 GB, free: 7.523 MB / 1.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00833/3.73, allocations: 4.38 MB / 2.08 GB, free: 2.418 MB / 1.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01389/3.744, allocations: 6.493 MB / 2.086 GB, free: 11.28 MB / 1.561 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.571e-05/3.744, allocations: 12 kB / 2.086 GB, free: 11.27 MB / 1.561 GB Notification: Performance of matching and sorting (n=857) (initialization): time 0.02812/3.772, allocations: 8.905 MB / 2.095 GB, free: 2.25 MB / 1.561 GB Notification: Performance of prepare postOptimizeDAE: time 6.656e-05/3.772, allocations: 24 kB / 2.095 GB, free: 2.227 MB / 1.561 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.829e-05/3.772, allocations: 40 kB / 2.095 GB, free: 2.188 MB / 1.561 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009589/3.782, allocations: 1.781 MB / 2.097 GB, free: 400 kB / 1.561 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006445/3.788, allocations: 1.353 MB / 2.098 GB, free: 15.04 MB / 1.576 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01204/3.8, allocations: 8.347 MB / 2.106 GB, free: 6.188 MB / 1.576 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009002/3.809, allocations: 423.8 kB / 2.107 GB, free: 5.773 MB / 1.576 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001328/3.811, allocations: 287.9 kB / 2.107 GB, free: 5.492 MB / 1.576 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01131/3.822, allocations: 4.616 MB / 2.111 GB, free: 0.8672 MB / 1.576 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008467/3.83, allocations: 4.293 MB / 2.116 GB, free: 11.84 MB / 1.592 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01168/3.842, allocations: 6.307 MB / 2.122 GB, free: 4.891 MB / 1.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.197e-05/3.842, allocations: 12 kB / 2.122 GB, free: 4.879 MB / 1.592 GB Notification: Performance of matching and sorting (n=857) (initialization_lambda0): time 0.02793/3.87, allocations: 8.868 MB / 2.13 GB, free: 11.89 MB / 1.607 GB Notification: Performance of prepare postOptimizeDAE: time 5.941e-05/3.87, allocations: 20.97 kB / 2.13 GB, free: 11.87 MB / 1.607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.757e-05/3.87, allocations: 44 kB / 2.13 GB, free: 11.83 MB / 1.607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008945/3.879, allocations: 1.581 MB / 2.132 GB, free: 10.23 MB / 1.607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005944/3.885, allocations: 1.322 MB / 2.133 GB, free: 8.906 MB / 1.607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01422/3.9, allocations: 10.47 MB / 2.143 GB, free: 13.83 MB / 1.623 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009491/3.909, allocations: 451.9 kB / 2.144 GB, free: 13.39 MB / 1.623 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001386/3.91, allocations: 279.9 kB / 2.144 GB, free: 13.12 MB / 1.623 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 186 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,conBoiRet.conPID.con1.y,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,boiSigCon.u,conEquSta.hys.y,$PRE.conEquSta.hys.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 (736): * Single equations (assignments): 726 * 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.002581/3.913, allocations: 0.5563 MB / 2.145 GB, free: 12.55 MB / 1.623 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004582/3.918, allocations: 0.9914 MB / 2.146 GB, free: 11.55 MB / 1.623 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01673/3.934, allocations: 6.219 MB / 2.152 GB, free: 5.273 MB / 1.623 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01177/3.946, allocations: 4.597 MB / 2.156 GB, free: 0.6328 MB / 1.623 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.731e-05/3.946, allocations: 0 / 2.156 GB, free: 0.6328 MB / 1.623 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008015/3.954, allocations: 1.695 MB / 2.158 GB, free: 14.9 MB / 1.639 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004075/3.958, allocations: 99.98 kB / 2.158 GB, free: 14.8 MB / 1.639 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008357/3.967, allocations: 299.6 kB / 2.158 GB, free: 14.51 MB / 1.639 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001642/3.968, allocations: 339.2 kB / 2.159 GB, free: 14.18 MB / 1.639 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01949/3.988, allocations: 5.71 MB / 2.164 GB, free: 8.422 MB / 1.639 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01942/4.007, allocations: 7.966 MB / 2.172 GB, free: 416 kB / 1.639 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004134/4.012, allocations: 2.149 MB / 2.174 GB, free: 14.25 MB / 1.654 GB Notification: Performance of sorting global known variables: time 0.01494/4.027, allocations: 6.366 MB / 2.18 GB, free: 7.945 MB / 1.654 GB Notification: Performance of Backend: time 1.433e-06/4.027, allocations: 0 / 2.18 GB, free: 7.945 MB / 1.654 GB Notification: Performance of simCode: created initialization part: time 1.466/5.493, allocations: 12.31 MB / 2.192 GB, free: 0.6699 GB / 1.654 GB Notification: Performance of SimCode: time 0.04792/5.541, allocations: 23.9 MB / 2.216 GB, free: 0.6609 GB / 1.654 GB Notification: Performance of Templates: time 0.3043/5.845, allocations: 224.8 MB / 2.435 GB, free: 476.7 MB / 1.654 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.System4.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.System4.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.System4.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.System4.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.System4.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.System4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.System4.pipe 2>&1)