Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.SpaceCooling.System3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T|cooCoi.sta_a2.T|cooCoi.sta_b2.T",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System3") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T|cooCoi.sta_a2.T|cooCoi.sta_b2.T",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 119.9 kB / 16.42 MB, free: 6.48 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.001797/0.001797, allocations: 183.9 kB / 17.34 MB, free: 5.754 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.354/1.354, 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 10.1.1-maint.10.0.x/package.mo): time 2.43/2.43, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 67.91 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7838/0.7852, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System3): time 0.3543/1.14, allocations: 359.2 MB / 1.518 GB, free: 11.34 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.05817/1.198, allocations: 41.2 MB / 1.558 GB, free: 2.02 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006792/1.205, allocations: 171.1 kB / 1.558 GB, free: 1.852 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.7319/1.937, allocations: 3.731 MB / 1.562 GB, free: 27.64 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.02508/1.962, allocations: 9.328 MB / 1.571 GB, free: 27.64 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01272/1.974, allocations: 5.441 MB / 1.577 GB, free: 27.53 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.02182/1.996, allocations: 15.92 MB / 1.592 GB, free: 27.5 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009124/2.005, allocations: 5.357 MB / 1.597 GB, free: 26.88 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01673/2.022, allocations: 6.39 MB / 1.604 GB, free: 26.82 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009968/2.032, allocations: 4.216 MB / 1.608 GB, free: 26.81 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.003123/2.035, allocations: 0.6664 MB / 1.608 GB, free: 26.81 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02156/2.057, allocations: 8.694 MB / 1.617 GB, free: 26.71 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.004514/2.061, allocations: 2.063 MB / 1.619 GB, free: 26.58 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.007997/2.069, allocations: 3.601 MB / 1.622 GB, free: 25.62 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.02887/2.098, allocations: 12.67 MB / 1.635 GB, free: 24.08 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 9.718e-06/2.098, allocations: 2 kB / 1.635 GB, free: 24.08 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.746e-06/2.098, allocations: 1.031 kB / 1.635 GB, free: 24.08 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0004445/2.099, allocations: 0 / 1.635 GB, free: 24.08 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1050 * Number of variables: 1050 Notification: Performance of Generate backend data structure: time 0.02508/2.124, allocations: 7.758 MB / 1.642 GB, free: 20.63 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/2.124, allocations: 17.19 kB / 1.642 GB, free: 20.63 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02349/2.148, allocations: 3.38 MB / 1.646 GB, free: 20.23 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01397/2.162, allocations: 5.438 MB / 1.651 GB, free: 19.2 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004217/2.162, allocations: 362.5 kB / 1.651 GB, free: 19.16 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001582/2.164, allocations: 425.8 kB / 1.652 GB, free: 19.16 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01525/2.179, allocations: 5.74 MB / 1.657 GB, free: 18.7 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.28e-05/2.179, allocations: 5.062 kB / 1.657 GB, free: 18.7 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005563/2.18, allocations: 172.2 kB / 1.657 GB, free: 18.7 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001499/2.18, allocations: 164.9 kB / 1.658 GB, free: 18.69 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01716/2.197, allocations: 6.386 MB / 1.664 GB, free: 18.57 MB / 1.279 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.04211/2.239, allocations: 22.78 MB / 1.686 GB, free: 7.426 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01065/2.25, allocations: 4.66 MB / 1.691 GB, free: 6.148 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006387/2.256, allocations: 2.543 MB / 1.693 GB, free: 5.723 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0156/2.272, allocations: 8.377 MB / 1.701 GB, free: 0.5703 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007775/2.28, allocations: 2.831 MB / 1.704 GB, free: 13.7 MB / 1.295 GB Notification: Performance of pre-optimization done (n=324): time 1.032e-05/2.28, allocations: 0 / 1.704 GB, free: 13.7 MB / 1.295 GB Notification: Performance of matching and sorting (n=330): time 0.04901/2.329, allocations: 13.88 MB / 1.718 GB, free: 15.64 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/2.329, allocations: 214.5 kB / 1.718 GB, free: 15.38 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009703/2.339, allocations: 4.083 MB / 1.722 GB, free: 11.3 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.001208/2.34, allocations: 109.7 kB / 1.722 GB, free: 11.19 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.002819/2.343, allocations: 2.25 MB / 1.724 GB, free: 8.941 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.002024/2.345, allocations: 1.175 MB / 1.725 GB, free: 7.785 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00319/2.348, allocations: 0.8454 MB / 1.726 GB, free: 6.93 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001044/2.348, allocations: 301.1 kB / 1.726 GB, free: 6.633 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007609/2.356, allocations: 2.462 MB / 1.729 GB, free: 4.16 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008337/2.364, allocations: 3.178 MB / 1.732 GB, free: 0.7422 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01546/2.379, allocations: 5.331 MB / 1.737 GB, free: 11.27 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.578e-05/2.38, allocations: 4 kB / 1.737 GB, free: 11.26 MB / 1.326 GB Notification: Performance of matching and sorting (n=524) (initialization): time 0.02252/2.402, allocations: 6.766 MB / 1.744 GB, free: 4.551 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 3.79e-05/2.402, allocations: 16.09 kB / 1.744 GB, free: 4.535 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-05/2.402, allocations: 15.98 kB / 1.744 GB, free: 4.52 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003069/2.405, allocations: 0.6535 MB / 1.744 GB, free: 3.852 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007248/2.413, allocations: 1.178 MB / 1.746 GB, free: 2.723 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01105/2.424, allocations: 9.868 MB / 1.755 GB, free: 8.281 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007653/2.431, allocations: 495.1 kB / 1.756 GB, free: 7.805 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00105/2.432, allocations: 191.8 kB / 1.756 GB, free: 7.617 MB / 1.342 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01029/2.443, allocations: 3.397 MB / 1.759 GB, free: 4.211 MB / 1.342 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008257/2.451, allocations: 3.174 MB / 1.762 GB, free: 0.7969 MB / 1.342 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01525/2.466, allocations: 5.294 MB / 1.767 GB, free: 11.36 MB / 1.357 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.375e-05/2.466, allocations: 4 kB / 1.767 GB, free: 11.35 MB / 1.357 GB Notification: Performance of matching and sorting (n=524) (initialization_lambda0): time 0.02428/2.491, allocations: 6.697 MB / 1.774 GB, free: 4.707 MB / 1.357 GB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/2.491, allocations: 12 kB / 1.774 GB, free: 4.695 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.727e-05/2.491, allocations: 12 kB / 1.774 GB, free: 4.684 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002672/2.493, allocations: 0.6425 MB / 1.775 GB, free: 4.027 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007349/2.501, allocations: 1.179 MB / 1.776 GB, free: 2.898 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01174/2.512, allocations: 10.96 MB / 1.786 GB, free: 7.25 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007699/2.52, allocations: 497.2 kB / 1.787 GB, free: 6.766 MB / 1.373 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00101/2.521, allocations: 179.9 kB / 1.787 GB, free: 6.59 MB / 1.373 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 26 (cooCoi.flowRegime_nominal,cooCoi.dryWetCalcs.fullyDry.cfg,cooCoi.dryWetCalcs.fullyWet.cfg,cooCoi.dryWetCalcs.cfg,cooCoi.flowRegime,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,cooCoi.UAFroRated.isFulWet,cooCoi.UAFroRated.isFulDry,con.y,$PRE.con.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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (456): * Single equations (assignments): 445 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 6 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,2), (1,18), (1,2), (5,2), (1,3), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001644/2.523, allocations: 415.2 kB / 1.788 GB, free: 6.223 MB / 1.373 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001788/2.525, allocations: 0.4968 MB / 1.788 GB, free: 5.723 MB / 1.373 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01983/2.544, allocations: 5.986 MB / 1.794 GB, free: 15.7 MB / 1.389 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01566/2.56, allocations: 4.912 MB / 1.799 GB, free: 10.74 MB / 1.389 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/2.56, allocations: 0 / 1.799 GB, free: 10.74 MB / 1.389 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003558/2.564, allocations: 1.138 MB / 1.8 GB, free: 9.582 MB / 1.389 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001686/2.565, allocations: 71.95 kB / 1.8 GB, free: 9.512 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006372/2.572, allocations: 466.9 kB / 1.8 GB, free: 9.059 MB / 1.389 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006225/2.573, allocations: 230.5 kB / 1.8 GB, free: 8.832 MB / 1.389 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02038/2.593, allocations: 5.774 MB / 1.806 GB, free: 3.066 MB / 1.389 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02441/2.617, allocations: 8.222 MB / 1.814 GB, free: 10.79 MB / 1.404 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007183/2.625, allocations: 2.451 MB / 1.817 GB, free: 8.328 MB / 1.404 GB Notification: Performance of sorting global known variables: time 0.006459/2.631, allocations: 2.724 MB / 1.819 GB, free: 5.613 MB / 1.404 GB Notification: Performance of Backend: time 9.22e-07/2.631, allocations: 0 / 1.819 GB, free: 5.613 MB / 1.404 GB Notification: Performance of simCode: created initialization part: time 0.04133/2.672, allocations: 10.42 MB / 1.829 GB, free: 11.59 MB / 1.42 GB Notification: Performance of SimCode: time 0.0302/2.703, allocations: 11 MB / 1.84 GB, free: 0.6133 MB / 1.42 GB Notification: Performance of Templates: time 0.2501/2.953, allocations: 149.4 MB / 1.986 GB, free: 12.45 MB / 1.576 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System3.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System3.sim & ./Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe 2>&1)