Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System2.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.System2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T|cooCoi.sta_b2.T",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System2") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T|cooCoi.sta_b2.T",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001615/0.001615, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.358/1.358, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.422/2.422, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 63.89 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7987/0.8001, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System2): time 0.3757/1.176, allocations: 359.1 MB / 1.518 GB, free: 11.48 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.06635/1.242, allocations: 41.18 MB / 1.558 GB, free: 2.191 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006708/1.249, allocations: 171.1 kB / 1.558 GB, free: 2.023 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.7069/1.956, allocations: 3.725 MB / 1.562 GB, free: 27.62 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.02422/1.98, allocations: 9.329 MB / 1.571 GB, free: 27.61 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01215/1.992, allocations: 5.429 MB / 1.576 GB, free: 27.51 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.02307/2.015, allocations: 15.91 MB / 1.592 GB, free: 27.48 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007522/2.023, allocations: 5.325 MB / 1.597 GB, free: 26.87 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01352/2.036, allocations: 6.374 MB / 1.603 GB, free: 26.81 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007442/2.044, allocations: 4.209 MB / 1.607 GB, free: 26.8 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.002176/2.046, allocations: 0.6619 MB / 1.608 GB, free: 26.8 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01967/2.066, allocations: 8.68 MB / 1.617 GB, free: 26.7 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.00411/2.07, allocations: 2.057 MB / 1.619 GB, free: 26.58 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.008878/2.079, allocations: 3.586 MB / 1.622 GB, free: 25.63 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.02469/2.104, allocations: 12.58 MB / 1.634 GB, free: 24.15 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/2.104, allocations: 0.75 kB / 1.634 GB, free: 24.15 MB / 1.279 GB Notification: Performance of FrontEnd: time 3.176e-06/2.104, allocations: 0 / 1.634 GB, free: 24.15 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0004412/2.104, allocations: 3.312 kB / 1.634 GB, free: 24.15 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: 1041 * Number of variables: 1041 Notification: Performance of Generate backend data structure: time 0.02347/2.128, allocations: 7.477 MB / 1.642 GB, free: 20.92 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/2.128, allocations: 12.69 kB / 1.642 GB, free: 20.91 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02446/2.152, allocations: 3.345 MB / 1.645 GB, free: 20.54 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01194/2.164, allocations: 5.384 MB / 1.65 GB, free: 19.56 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003349/2.164, allocations: 356.3 kB / 1.651 GB, free: 19.52 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001303/2.166, allocations: 423.9 kB / 1.651 GB, free: 19.52 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01354/2.179, allocations: 5.708 MB / 1.657 GB, free: 19.05 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-05/2.179, allocations: 6.344 kB / 1.657 GB, free: 19.05 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005396/2.18, allocations: 180.2 kB / 1.657 GB, free: 19.04 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001587/2.18, allocations: 165.9 kB / 1.657 GB, free: 19.04 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01684/2.197, allocations: 6.361 MB / 1.663 GB, free: 18.93 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.04875/2.246, allocations: 22.84 MB / 1.685 GB, free: 7.812 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0114/2.257, allocations: 4.39 MB / 1.69 GB, free: 6.59 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00695/2.264, allocations: 2.425 MB / 1.692 GB, free: 6.188 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01891/2.283, allocations: 8.243 MB / 1.7 GB, free: 1.754 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008241/2.291, allocations: 2.691 MB / 1.703 GB, free: 15.02 MB / 1.295 GB Notification: Performance of pre-optimization done (n=313): time 1.029e-05/2.292, allocations: 6.469 kB / 1.703 GB, free: 15.01 MB / 1.295 GB Notification: Performance of matching and sorting (n=313): time 0.02901/2.321, allocations: 7.462 MB / 1.71 GB, free: 7.434 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001534/2.321, allocations: 252.1 kB / 1.71 GB, free: 7.137 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01052/2.331, allocations: 4.273 MB / 1.714 GB, free: 2.863 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.001171/2.332, allocations: 93.7 kB / 1.715 GB, free: 2.766 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.00293/2.335, allocations: 2.255 MB / 1.717 GB, free: 0.5039 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.002039/2.338, allocations: 1.06 MB / 1.718 GB, free: 15.45 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003908/2.341, allocations: 0.8443 MB / 1.719 GB, free: 14.6 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.000131/2.342, allocations: 305.1 kB / 1.719 GB, free: 14.3 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008132/2.35, allocations: 2.417 MB / 1.721 GB, free: 11.88 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008888/2.359, allocations: 3.134 MB / 1.724 GB, free: 8.5 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01522/2.374, allocations: 5.153 MB / 1.729 GB, free: 3.211 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.577e-05/2.374, allocations: 4 kB / 1.729 GB, free: 3.207 MB / 1.311 GB Notification: Performance of matching and sorting (n=514) (initialization): time 0.02362/2.398, allocations: 6.477 MB / 1.736 GB, free: 12.77 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 3.72e-05/2.398, allocations: 12 kB / 1.736 GB, free: 12.76 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.934e-05/2.398, allocations: 16.03 kB / 1.736 GB, free: 12.75 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002129/2.4, allocations: 433 kB / 1.736 GB, free: 12.32 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007629/2.407, allocations: 1.211 MB / 1.737 GB, free: 11.16 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005925/2.413, allocations: 5.62 MB / 1.743 GB, free: 5.18 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008559/2.422, allocations: 0.7599 MB / 1.743 GB, free: 4.418 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001087/2.423, allocations: 179.9 kB / 1.744 GB, free: 4.242 MB / 1.326 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01061/2.434, allocations: 3.357 MB / 1.747 GB, free: 0.8789 MB / 1.326 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008847/2.443, allocations: 3.132 MB / 1.75 GB, free: 13.51 MB / 1.342 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01522/2.458, allocations: 5.106 MB / 1.755 GB, free: 8.254 MB / 1.342 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.689e-05/2.458, allocations: 4 kB / 1.755 GB, free: 8.25 MB / 1.342 GB Notification: Performance of matching and sorting (n=514) (initialization_lambda0): time 0.02199/2.48, allocations: 6.42 MB / 1.761 GB, free: 1.875 MB / 1.342 GB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/2.48, allocations: 10.19 kB / 1.761 GB, free: 1.867 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.619e-05/2.48, allocations: 16.12 kB / 1.761 GB, free: 1.852 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001842/2.482, allocations: 410.2 kB / 1.762 GB, free: 1.441 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007371/2.489, allocations: 1.198 MB / 1.763 GB, free: 300 kB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006203/2.496, allocations: 6.148 MB / 1.769 GB, free: 9.711 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008411/2.504, allocations: 0.6935 MB / 1.77 GB, free: 9.016 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001112/2.505, allocations: 175.9 kB / 1.77 GB, free: 8.844 MB / 1.357 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 24 (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,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 (466): * Single equations (assignments): 456 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * 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): 2 systems {1, 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): 4 systems {(1,2), (5,2), (1,3), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001934/2.507, allocations: 408.2 kB / 1.77 GB, free: 8.488 MB / 1.357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002171/2.509, allocations: 482 kB / 1.771 GB, free: 8.012 MB / 1.357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02005/2.529, allocations: 5.707 MB / 1.776 GB, free: 2.258 MB / 1.357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01578/2.545, allocations: 4.564 MB / 1.781 GB, free: 13.65 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.897e-05/2.545, allocations: 0 / 1.781 GB, free: 13.65 MB / 1.373 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004061/2.549, allocations: 1.15 MB / 1.782 GB, free: 12.47 MB / 1.373 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002004/2.551, allocations: 59.91 kB / 1.782 GB, free: 12.41 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006697/2.558, allocations: 442.7 kB / 1.782 GB, free: 11.98 MB / 1.373 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007511/2.559, allocations: 210.3 kB / 1.782 GB, free: 11.78 MB / 1.373 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01991/2.579, allocations: 5.341 MB / 1.788 GB, free: 6.441 MB / 1.373 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02228/2.601, allocations: 7.674 MB / 1.795 GB, free: 14.7 MB / 1.389 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006342/2.607, allocations: 2.277 MB / 1.797 GB, free: 12.41 MB / 1.389 GB Notification: Performance of sorting global known variables: time 0.00643/2.614, allocations: 2.875 MB / 1.8 GB, free: 9.547 MB / 1.389 GB Notification: Performance of Backend: time 1.042e-06/2.614, allocations: 0 / 1.8 GB, free: 9.547 MB / 1.389 GB Notification: Performance of simCode: created initialization part: time 0.03472/2.649, allocations: 9.633 MB / 1.81 GB, free: 376 kB / 1.389 GB Notification: Performance of SimCode: time 0.02621/2.675, allocations: 10.76 MB / 1.82 GB, free: 5.637 MB / 1.404 GB Notification: Performance of Templates: time 0.2187/2.894, allocations: 146.2 MB / 1.963 GB, free: 4.715 MB / 1.545 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System2.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System2.sim & ./Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe 2>&1)