Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingSpawnZ1.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.Experimental.DHC.Loads.BaseClasses.Examples.CouplingSpawnZ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bui.maxTSet.y|bui.minTSet.y|bui.zon.TAir|bui.terUni.QActHea_flow|bui.terUni.QActCoo_flow|supHeaWat.T_in|bui.terUni.T_aHeaWat_nominal|bui.disFloHea.mReq_flow.1.|bui.disFloHea.mAct_flow.1..y|bui.disFloHea.m_flow_nominal|bui.terUni.QHea_flow_nominal|supChiWat.T_in|bui.terUni.T_aChiWat_nominal|bui.disFloCoo.mReq_flow.1.|bui.disFloCoo.mAct_flow.1..y|bui.disFloCoo.m_flow_nominal",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingSpawnZ1") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingSpawnZ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bui.maxTSet.y|bui.minTSet.y|bui.zon.TAir|bui.terUni.QActHea_flow|bui.terUni.QActCoo_flow|supHeaWat.T_in|bui.terUni.T_aHeaWat_nominal|bui.disFloHea.mReq_flow.1.|bui.disFloHea.mAct_flow.1..y|bui.disFloHea.m_flow_nominal|bui.terUni.QHea_flow_nominal|supChiWat.T_in|bui.terUni.T_aChiWat_nominal|bui.disFloCoo.mReq_flow.1.|bui.disFloCoo.mAct_flow.1..y|bui.disFloCoo.m_flow_nominal",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingSpawnZ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 119.5 kB / 16.42 MB, free: 6.488 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.001071/0.001071, allocations: 183.9 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.355/1.355, allocations: 222.9 MB / 241 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.462/2.462, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 67.89 kB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9277/0.9292, allocations: 151.6 MB / 1.167 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingSpawnZ1): time 1.535/2.464, allocations: 0.6708 GB / 1.838 GB, free: 6.332 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.1877/2.652, allocations: 129.2 MB / 1.964 GB, free: 7.297 MB / 1.42 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03377/2.686, allocations: 0.5828 MB / 1.965 GB, free: 6.711 MB / 1.42 GB Notification: Performance of NFTyping.typeComponents: time 0.01868/2.705, allocations: 5.636 MB / 1.97 GB, free: 1.047 MB / 1.42 GB Notification: Performance of NFTyping.typeBindings: time 0.04337/2.748, allocations: 13.29 MB / 1.983 GB, free: 3.711 MB / 1.436 GB Notification: Performance of NFTyping.typeClassSections: time 0.02373/2.772, allocations: 8.4 MB / 1.992 GB, free: 11.35 MB / 1.451 GB Notification: Performance of NFFlatten.flatten: time 0.04577/2.818, allocations: 25.8 MB / 2.017 GB, free: 1.488 MB / 1.467 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02348/2.841, allocations: 10.16 MB / 2.027 GB, free: 7.207 MB / 1.482 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02868/2.87, allocations: 10.9 MB / 2.037 GB, free: 12.29 MB / 1.498 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01379/2.884, allocations: 6.4 MB / 2.044 GB, free: 5.883 MB / 1.498 GB Notification: Performance of NFPackage.collectConstants: time 0.005361/2.889, allocations: 1.359 MB / 2.045 GB, free: 4.523 MB / 1.498 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02497/2.914, allocations: 9.529 MB / 2.054 GB, free: 10.98 MB / 1.514 GB Notification: Performance of NFScalarize.scalarize: time 0.005879/2.92, allocations: 3.062 MB / 2.057 GB, free: 7.91 MB / 1.514 GB Notification: Performance of NFVerifyModel.verify: time 0.01457/2.934, allocations: 5.862 MB / 2.063 GB, free: 2.023 MB / 1.514 GB Notification: Performance of NFConvertDAE.convert: time 0.04489/2.979, allocations: 22.94 MB / 2.085 GB, free: 11.02 MB / 1.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.708e-06/2.979, allocations: 3.984 kB / 2.085 GB, free: 11.01 MB / 1.545 GB Notification: Performance of FrontEnd: time 1.893e-06/2.979, allocations: 4 kB / 2.085 GB, free: 11.01 MB / 1.545 GB Notification: Performance of Transformations before backend: time 0.0006422/2.98, allocations: 4 kB / 2.085 GB, free: 11 MB / 1.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1541 * Number of variables: 1541 Notification: Performance of Generate backend data structure: time 0.03529/3.015, allocations: 10.81 MB / 2.096 GB, free: 32 kB / 1.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/3.016, allocations: 12.61 kB / 2.096 GB, free: 20 kB / 1.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02613/3.042, allocations: 3.641 MB / 2.1 GB, free: 12.36 MB / 1.561 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02883/3.071, allocations: 12.65 MB / 2.112 GB, free: 15.62 MB / 1.576 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008548/3.071, allocations: 0.5433 MB / 2.112 GB, free: 15.07 MB / 1.576 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002786/3.074, allocations: 0.6156 MB / 2.113 GB, free: 14.46 MB / 1.576 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02752/3.102, allocations: 8.513 MB / 2.121 GB, free: 5.684 MB / 1.576 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000277/3.102, allocations: 15.84 kB / 2.121 GB, free: 5.668 MB / 1.576 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002065/3.104, allocations: 256 kB / 2.122 GB, free: 5.418 MB / 1.576 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002588/3.104, allocations: 221.9 kB / 2.122 GB, free: 5.199 MB / 1.576 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02527/3.13, allocations: 8.431 MB / 2.13 GB, free: 12.75 MB / 1.592 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.07029/3.2, allocations: 39.19 MB / 2.168 GB, free: 3.641 MB / 1.623 GB Notification: Performance of preOpt comSubExp (simulation): time 1.452/4.652, allocations: 6.262 MB / 2.174 GB, free: 0.6865 GB / 1.623 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009484/4.661, allocations: 3.053 MB / 2.177 GB, free: 0.6859 GB / 1.623 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02278/4.684, allocations: 13.06 MB / 2.19 GB, free: 0.6773 GB / 1.623 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008193/4.692, allocations: 3.373 MB / 2.193 GB, free: 0.6761 GB / 1.623 GB Notification: Performance of pre-optimization done (n=353): time 6.763e-06/4.693, allocations: 3.875 kB / 2.193 GB, free: 0.6761 GB / 1.623 GB Notification: Performance of matching and sorting (n=353): time 0.06366/4.756, allocations: 14.47 MB / 2.208 GB, free: 0.6719 GB / 1.623 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002248/4.756, allocations: 456.8 kB / 2.208 GB, free: 0.6714 GB / 1.623 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01159/4.768, allocations: 6.648 MB / 2.214 GB, free: 0.668 GB / 1.623 GB Notification: Performance of collectPreVariables (initialization): time 0.001383/4.769, allocations: 116.8 kB / 2.215 GB, free: 0.6679 GB / 1.623 GB Notification: Performance of collectInitialEqns (initialization): time 0.003414/4.773, allocations: 3.585 MB / 2.218 GB, free: 0.6654 GB / 1.623 GB Notification: Performance of collectInitialBindings (initialization): time 0.001866/4.775, allocations: 1.19 MB / 2.219 GB, free: 0.6644 GB / 1.623 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002322/4.777, allocations: 1.188 MB / 2.22 GB, free: 0.6637 GB / 1.623 GB Notification: Performance of setup shared object (initialization): time 5.465e-05/4.777, allocations: 301.1 kB / 2.221 GB, free: 0.6634 GB / 1.623 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007648/4.785, allocations: 3.163 MB / 2.224 GB, free: 0.6618 GB / 1.623 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00909/4.794, allocations: 4.56 MB / 2.228 GB, free: 0.6585 GB / 1.623 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01651/4.81, allocations: 7.188 MB / 2.235 GB, free: 0.6512 GB / 1.623 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-05/4.811, allocations: 11.44 kB / 2.235 GB, free: 0.6512 GB / 1.623 GB Notification: Performance of matching and sorting (n=684) (initialization): time 0.02993/4.841, allocations: 9.781 MB / 2.245 GB, free: 0.6416 GB / 1.623 GB Notification: Performance of prepare postOptimizeDAE: time 8.211e-05/4.841, allocations: 43.11 kB / 2.245 GB, free: 0.6416 GB / 1.623 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.31e-05/4.841, allocations: 35.94 kB / 2.245 GB, free: 0.6415 GB / 1.623 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008648/4.849, allocations: 2.844 MB / 2.248 GB, free: 0.6388 GB / 1.623 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006717/4.856, allocations: 1.252 MB / 2.249 GB, free: 0.6376 GB / 1.623 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01549/4.872, allocations: 9.821 MB / 2.258 GB, free: 0.6275 GB / 1.623 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009719/4.881, allocations: 0.8717 MB / 2.259 GB, free: 0.6267 GB / 1.623 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001576/4.883, allocations: 259.9 kB / 2.26 GB, free: 0.6264 GB / 1.623 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01371/4.897, allocations: 4.98 MB / 2.264 GB, free: 0.6216 GB / 1.623 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009667/4.906, allocations: 4.511 MB / 2.269 GB, free: 0.6166 GB / 1.623 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01628/4.923, allocations: 7.113 MB / 2.276 GB, free: 0.6092 GB / 1.623 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.459e-05/4.923, allocations: 8 kB / 2.276 GB, free: 0.6092 GB / 1.623 GB Notification: Performance of matching and sorting (n=684) (initialization_lambda0): time 0.03143/4.954, allocations: 9.709 MB / 2.285 GB, free: 0.5996 GB / 1.623 GB Notification: Performance of prepare postOptimizeDAE: time 7.024e-05/4.954, allocations: 45.7 kB / 2.285 GB, free: 0.5996 GB / 1.623 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.634e-05/4.954, allocations: 28 kB / 2.285 GB, free: 0.5996 GB / 1.623 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008621/4.963, allocations: 2.843 MB / 2.288 GB, free: 0.5968 GB / 1.623 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006774/4.97, allocations: 1.24 MB / 2.289 GB, free: 0.5956 GB / 1.623 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01552/4.985, allocations: 9.834 MB / 2.299 GB, free: 0.5855 GB / 1.623 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009581/4.995, allocations: 0.7524 MB / 2.3 GB, free: 0.5848 GB / 1.623 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00151/4.997, allocations: 259.9 kB / 2.3 GB, free: 0.5845 GB / 1.623 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 140 * Number of states: 0 () * Number of discrete variables: 50 (bui.zon.fmuZon.tLast,bui.building.weaDat.conTim.canRepeatWeatherFile,bui.building.weaDat.conTimMin.canRepeatWeatherFile,bui.building.weaDat.decAng.tNext,$PRE.bui.building.weaDat.decAng.tNext,bui.building.weaDat.eqnTim.tNext,$PRE.bui.building.weaDat.eqnTim.tNext,bui.building.weaDat.conTim.tNext,$PRE.bui.building.weaDat.conTim.tNext,bui.building.weaDat.conTimMin.tNext,$PRE.bui.building.weaDat.conTimMin.tNext,bui.building.weaDat.locTim.tNext,$PRE.bui.building.weaDat.locTim.tNext,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,bui.terUni.conCoo.con1.y,bui.terUni.conHea.con1.y,bui.terUni.hexHea.flowRegime_nominal,bui.terUni.hexHea.flowRegime,bui.terUni.hexWetNtu.flowRegime_nominal,bui.terUni.hexWetNtu.dryWetCalcs.fullyDry.cfg,bui.terUni.hexWetNtu.dryWetCalcs.fullyWet.cfg,bui.terUni.hexWetNtu.dryWetCalcs.cfg,bui.terUni.hexWetNtu.flowRegime,bui.terUni.hexWetNtu.UAFroRated.isFulWet,bui.terUni.hexWetNtu.UAFroRated.isFulDry,bui.zon.vol.computeCSen,bui.zon.fmuZon.nObj,bui.zon.fmuZon.QConLast_flow,bui.zon.fmuZon.TRooLast,bui.zon.fmuZon.TAveInlet,$PRE.bui.zon.fmuZon.TAveInlet,bui.zon.fmuZon.mInlet_flow,$PRE.bui.zon.fmuZon.mInlet_flow,bui.zon.fmuZon.dtLast,$PRE.bui.zon.fmuZon.tLast,bui.zon.fmuZon.tNext,$PRE.bui.zon.fmuZon.tNext,bui.zon.fmuZon.yEP[5],bui.zon.fmuZon.yEP[4],bui.zon.fmuZon.yEP[3],bui.zon.fmuZon.yEP[2],bui.zon.fmuZon.yEP[1],bui.zon.fmuZon.QPeo_flow,bui.zon.fmuZon.QLat_flow,bui.zon.fmuZon.TRad,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (582): * Single equations (assignments): 570 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 1 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,2), (1,2), (5,45), (5,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002699/4.999, allocations: 0.5389 MB / 2.3 GB, free: 0.584 GB / 1.623 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003076/5.002, allocations: 0.6867 MB / 2.301 GB, free: 0.5833 GB / 1.623 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04097/5.043, allocations: 9.156 MB / 2.31 GB, free: 0.5743 GB / 1.623 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03327/5.077, allocations: 6.931 MB / 2.317 GB, free: 0.5675 GB / 1.623 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.541e-05/5.077, allocations: 4 kB / 2.317 GB, free: 0.5674 GB / 1.623 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005102/5.082, allocations: 1.737 MB / 2.319 GB, free: 0.5657 GB / 1.623 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003607/5.085, allocations: 87.94 kB / 2.319 GB, free: 0.5656 GB / 1.623 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009343/5.095, allocations: 484.9 kB / 2.319 GB, free: 0.5652 GB / 1.623 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001171/5.096, allocations: 242.7 kB / 2.319 GB, free: 0.565 GB / 1.623 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02929/5.125, allocations: 8.482 MB / 2.328 GB, free: 0.5567 GB / 1.623 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02666/5.152, allocations: 10.53 MB / 2.338 GB, free: 0.5463 GB / 1.623 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007369/5.159, allocations: 2.96 MB / 2.341 GB, free: 0.5434 GB / 1.623 GB Notification: Performance of sorting global known variables: time 0.01149/5.171, allocations: 4.452 MB / 2.345 GB, free: 0.5391 GB / 1.623 GB Notification: Performance of Backend: time 1.203e-06/5.171, allocations: 4 kB / 2.345 GB, free: 0.5391 GB / 1.623 GB Notification: Performance of simCode: created initialization part: time 0.04628/5.217, allocations: 13.33 MB / 2.358 GB, free: 0.5267 GB / 1.623 GB Notification: Performance of SimCode: time 0.0366/5.254, allocations: 16.12 MB / 2.374 GB, free: 0.511 GB / 1.623 GB Notification: Performance of Templates: time 0.27/5.524, allocations: 205.4 MB / 2.575 GB, free: 318.9 MB / 1.623 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingSpawnZ1.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingSpawnZ1.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingSpawnZ1.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingSpawnZ1.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingSpawnZ1.sim & ./Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingSpawnZ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingSpawnZ1.pipe 2>&1)