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.001786/0.001786, allocations: 116.2 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.001801/0.001801, allocations: 183.9 kB / 17.34 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.38/1.38, allocations: 222.9 MB / 241.1 MB, free: 15.2 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.49/2.49, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002212, allocations: 55.91 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9076/0.9099, allocations: 151.7 MB / 1.167 GB, free: 4.008 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System3): time 0.3717/1.282, allocations: 359.2 MB / 1.518 GB, free: 11.51 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.0693/1.351, allocations: 41.22 MB / 1.558 GB, free: 2.168 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009809/1.361, allocations: 163.1 kB / 1.558 GB, free: 2.008 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.9824/2.343, allocations: 3.734 MB / 1.562 GB, free: 27.69 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.034/2.377, allocations: 9.326 MB / 1.571 GB, free: 27.69 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01583/2.393, allocations: 5.433 MB / 1.577 GB, free: 27.58 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.03477/2.428, allocations: 15.93 MB / 1.592 GB, free: 27.55 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01528/2.443, allocations: 5.35 MB / 1.597 GB, free: 26.94 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02508/2.468, allocations: 6.394 MB / 1.604 GB, free: 26.88 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01493/2.483, allocations: 4.227 MB / 1.608 GB, free: 26.86 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.004342/2.488, allocations: 0.6677 MB / 1.608 GB, free: 26.86 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02567/2.514, allocations: 8.684 MB / 1.617 GB, free: 26.77 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.006093/2.52, allocations: 2.071 MB / 1.619 GB, free: 26.64 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.01211/2.532, allocations: 3.6 MB / 1.622 GB, free: 25.68 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.03437/2.566, allocations: 12.67 MB / 1.635 GB, free: 24.13 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/2.566, allocations: 0 / 1.635 GB, free: 24.13 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.783e-06/2.566, allocations: 0 / 1.635 GB, free: 24.13 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0005204/2.567, allocations: 0.9688 kB / 1.635 GB, free: 24.13 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.02776/2.595, allocations: 7.758 MB / 1.642 GB, free: 20.69 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/2.595, allocations: 14.95 kB / 1.642 GB, free: 20.68 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02633/2.621, allocations: 3.381 MB / 1.646 GB, free: 20.28 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01633/2.637, allocations: 5.437 MB / 1.651 GB, free: 19.25 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006595/2.638, allocations: 364.1 kB / 1.651 GB, free: 19.21 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002519/2.641, allocations: 430.4 kB / 1.652 GB, free: 19.21 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02309/2.664, allocations: 5.734 MB / 1.657 GB, free: 18.75 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003482/2.664, allocations: 2.906 kB / 1.657 GB, free: 18.75 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002309/2.667, allocations: 176 kB / 1.657 GB, free: 18.75 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003125/2.667, allocations: 170.3 kB / 1.658 GB, free: 18.74 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02438/2.691, allocations: 6.377 MB / 1.664 GB, free: 18.62 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.05333/2.745, allocations: 22.77 MB / 1.686 GB, free: 7.551 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01257/2.757, allocations: 4.671 MB / 1.691 GB, free: 6.27 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0079/2.765, allocations: 2.542 MB / 1.693 GB, free: 5.84 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02166/2.787, allocations: 8.377 MB / 1.701 GB, free: 0.8398 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009118/2.796, allocations: 2.835 MB / 1.704 GB, free: 13.96 MB / 1.295 GB Notification: Performance of pre-optimization done (n=324): time 8.977e-06/2.796, allocations: 0 / 1.704 GB, free: 13.96 MB / 1.295 GB Notification: Performance of matching and sorting (n=330): time 0.05553/2.852, allocations: 13.88 MB / 1.718 GB, free: 15.91 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002027/2.852, allocations: 225.1 kB / 1.718 GB, free: 15.64 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01374/2.866, allocations: 4.084 MB / 1.722 GB, free: 11.56 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.001525/2.867, allocations: 97.7 kB / 1.722 GB, free: 11.46 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.00328/2.871, allocations: 2.255 MB / 1.724 GB, free: 9.207 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.002394/2.873, allocations: 1.17 MB / 1.725 GB, free: 8.051 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002142/2.875, allocations: 0.8444 MB / 1.726 GB, free: 7.199 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001965/2.875, allocations: 309.1 kB / 1.726 GB, free: 6.895 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007496/2.883, allocations: 2.458 MB / 1.729 GB, free: 4.43 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008847/2.892, allocations: 3.186 MB / 1.732 GB, free: 1.004 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01591/2.908, allocations: 5.324 MB / 1.737 GB, free: 11.54 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.822e-05/2.908, allocations: 4 kB / 1.737 GB, free: 11.53 MB / 1.326 GB Notification: Performance of matching and sorting (n=524) (initialization): time 0.02345/2.931, allocations: 6.773 MB / 1.744 GB, free: 4.812 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 4.165e-05/2.931, allocations: 12 kB / 1.744 GB, free: 4.801 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.834e-05/2.931, allocations: 12 kB / 1.744 GB, free: 4.789 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002959/2.934, allocations: 0.6528 MB / 1.744 GB, free: 4.121 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008075/2.942, allocations: 1.18 MB / 1.746 GB, free: 2.988 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01195/2.954, allocations: 9.872 MB / 1.755 GB, free: 8.547 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008482/2.963, allocations: 484.1 kB / 1.756 GB, free: 8.074 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001297/2.964, allocations: 183.9 kB / 1.756 GB, free: 7.895 MB / 1.342 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01087/2.975, allocations: 3.407 MB / 1.759 GB, free: 4.48 MB / 1.342 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008087/2.983, allocations: 3.166 MB / 1.762 GB, free: 1.074 MB / 1.342 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01437/2.998, allocations: 5.288 MB / 1.767 GB, free: 11.64 MB / 1.357 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.502e-05/2.998, allocations: 7.984 kB / 1.767 GB, free: 11.63 MB / 1.357 GB Notification: Performance of matching and sorting (n=524) (initialization_lambda0): time 0.02174/3.02, allocations: 6.699 MB / 1.774 GB, free: 4.98 MB / 1.357 GB Notification: Performance of prepare postOptimizeDAE: time 3.38e-05/3.02, allocations: 8 kB / 1.774 GB, free: 4.973 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.843e-05/3.02, allocations: 16.56 kB / 1.774 GB, free: 4.957 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002563/3.022, allocations: 0.6485 MB / 1.775 GB, free: 4.297 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00695/3.029, allocations: 1.172 MB / 1.776 GB, free: 3.172 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01505/3.044, allocations: 10.97 MB / 1.786 GB, free: 7.527 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01133/3.056, allocations: 0.4903 MB / 1.787 GB, free: 7.043 MB / 1.373 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001599/3.057, allocations: 183.9 kB / 1.787 GB, free: 6.863 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.002735/3.06, allocations: 409.1 kB / 1.788 GB, free: 6.504 MB / 1.373 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003038/3.063, allocations: 0.4929 MB / 1.788 GB, free: 6.008 MB / 1.373 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02715/3.09, allocations: 5.993 MB / 1.794 GB, free: 15.96 MB / 1.389 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01811/3.108, allocations: 4.908 MB / 1.799 GB, free: 11.01 MB / 1.389 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.727e-05/3.108, allocations: 0 / 1.799 GB, free: 11.01 MB / 1.389 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004252/3.113, allocations: 1.134 MB / 1.8 GB, free: 9.855 MB / 1.389 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002284/3.115, allocations: 71.95 kB / 1.8 GB, free: 9.785 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007108/3.122, allocations: 466.6 kB / 1.8 GB, free: 9.332 MB / 1.389 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009062/3.123, allocations: 233.1 kB / 1.8 GB, free: 9.105 MB / 1.389 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02173/3.145, allocations: 5.772 MB / 1.806 GB, free: 3.34 MB / 1.389 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02372/3.169, allocations: 8.229 MB / 1.814 GB, free: 11.06 MB / 1.404 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006792/3.175, allocations: 2.454 MB / 1.817 GB, free: 8.594 MB / 1.404 GB Notification: Performance of sorting global known variables: time 0.006301/3.182, allocations: 2.724 MB / 1.819 GB, free: 5.879 MB / 1.404 GB Notification: Performance of Backend: time 1.543e-06/3.182, allocations: 4 kB / 1.819 GB, free: 5.875 MB / 1.404 GB Notification: Performance of simCode: created initialization part: time 0.03628/3.218, allocations: 10.41 MB / 1.829 GB, free: 11.87 MB / 1.42 GB Notification: Performance of SimCode: time 0.02648/3.245, allocations: 10.99 MB / 1.84 GB, free: 0.8945 MB / 1.42 GB Notification: Performance of Templates: time 0.252/3.497, allocations: 149.5 MB / 1.986 GB, free: 12.72 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)