Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Experimental.DHC.Loads.Examples.CouplingRCZ1Valve.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Experimental.DHC.Loads.Examples.CouplingRCZ1Valve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Experimental.DHC.Loads.Examples.CouplingRCZ1Valve") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.883/4.883, allocations: 0.5623 GB / 0.5776 GB, free: 3.402 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002675/0.002674, allocations: 366.5 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.406/4.406, allocations: 410.7 MB / 1.113 GB, free: 6.004 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001796/0.001796, allocations: 179.9 kB / 1.226 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005107/0.0005109, allocations: 12 kB / 1.349 GB, free: 8.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7764/0.7769, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Examples.CouplingRCZ1Valve): time 1.578/2.355, allocations: 0.5887 GB / 2.05 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 1.191/3.547, allocations: 118.1 MB / 2.165 GB, free: 14.37 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02575/3.572, allocations: 0.5011 MB / 2.166 GB, free: 14.37 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.02895/3.601, allocations: 6.191 MB / 2.172 GB, free: 14.36 MB / 1.026 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Experimental/DHC/Loads/FlowDistribution.mo:186:18-186:29:writable] Warning: 'each' used when modifying non-array element y. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Experimental/DHC/Loads/FlowDistribution.mo:199:18-199:26:writable] Warning: 'each' used when modifying non-array element y. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Experimental/DHC/Loads/FlowDistribution.mo:186:18-186:29:writable] Warning: 'each' used when modifying non-array element y. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Experimental/DHC/Loads/FlowDistribution.mo:199:18-199:26:writable] Warning: 'each' used when modifying non-array element y. Notification: Performance of NFTyping.typeBindings: time 0.08403/3.685, allocations: 19.63 MB / 2.191 GB, free: 14.12 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.06258/3.748, allocations: 14.56 MB / 2.205 GB, free: 13.75 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.0662/3.814, allocations: 38.81 MB / 2.243 GB, free: 11.53 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03415/3.848, allocations: 11.32 MB / 2.254 GB, free: 7.738 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03524/3.884, allocations: 11.01 MB / 2.265 GB, free: 4.094 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02373/3.908, allocations: 8.982 MB / 2.274 GB, free: 0.5078 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.005698/3.913, allocations: 0.4949 MB / 2.274 GB, free: 0.5078 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02903/3.942, allocations: 5.097 MB / 2.279 GB, free: 0 / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.01471/3.957, allocations: 3.288 MB / 2.282 GB, free: 0 / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.01064/3.968, allocations: 3.244 MB / 2.286 GB, free: 15.48 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.04833/4.016, allocations: 25.19 MB / 2.31 GB, free: 12.55 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/4.016, allocations: 7.25 kB / 2.31 GB, free: 12.54 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.525e-06/4.016, allocations: 0 / 2.31 GB, free: 12.54 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.0008712/4.017, allocations: 0 / 2.31 GB, free: 12.54 MB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2475 * Number of variables: 2475 Notification: Performance of Generate backend data structure: time 0.05344/4.071, allocations: 13.59 MB / 2.323 GB, free: 156 kB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/4.071, allocations: 8.031 kB / 2.323 GB, free: 148 kB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04663/4.117, allocations: 5.173 MB / 2.329 GB, free: 11.02 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04665/4.164, allocations: 13.55 MB / 2.342 GB, free: 3.211 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005626/4.17, allocations: 1.213 MB / 2.343 GB, free: 2.324 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005437/4.175, allocations: 0.9894 MB / 2.344 GB, free: 1.656 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0603/4.236, allocations: 13.66 MB / 2.357 GB, free: 8.168 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004835/4.236, allocations: 15.78 kB / 2.357 GB, free: 8.152 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003822/4.24, allocations: 414.8 kB / 2.358 GB, free: 8.055 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005424/4.241, allocations: 360.7 kB / 2.358 GB, free: 7.707 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06238/4.303, allocations: 13.66 MB / 2.371 GB, free: 14.38 MB / 1.104 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.1603/4.463, allocations: 61.63 MB / 2.432 GB, free: 14.99 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03475/4.498, allocations: 7.991 MB / 2.439 GB, free: 9.785 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02042/4.518, allocations: 4.778 MB / 2.444 GB, free: 6.648 MB / 1.151 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.05876/4.577, allocations: 18.09 MB / 2.462 GB, free: 10.52 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02169/4.599, allocations: 4.919 MB / 2.466 GB, free: 7.008 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007966/4.607, allocations: 0.7588 MB / 2.467 GB, free: 6.344 MB / 1.167 GB Notification: Performance of pre-optimization done (n=550): time 3.281e-05/4.607, allocations: 0 / 2.467 GB, free: 6.344 MB / 1.167 GB Notification: Performance of matching and sorting (n=550): time 0.07207/4.679, allocations: 14.22 MB / 2.481 GB, free: 7.926 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002526/4.68, allocations: 398.4 kB / 2.481 GB, free: 7.453 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03641/4.716, allocations: 10.77 MB / 2.492 GB, free: 12.73 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.002328/4.718, allocations: 153.7 kB / 2.492 GB, free: 12.57 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.01201/4.73, allocations: 6.107 MB / 2.498 GB, free: 6.461 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.004559/4.735, allocations: 1.871 MB / 2.5 GB, free: 4.605 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001999/4.737, allocations: 140 kB / 2.5 GB, free: 4.469 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0008366/4.738, allocations: 0.5681 MB / 2.501 GB, free: 3.895 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0202/4.758, allocations: 4.086 MB / 2.505 GB, free: 15.8 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02423/4.782, allocations: 6.358 MB / 2.511 GB, free: 8.531 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02266/4.805, allocations: 4.771 MB / 2.516 GB, free: 3.742 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-05/4.805, allocations: 16 kB / 2.516 GB, free: 3.727 MB / 1.214 GB Notification: Performance of matching and sorting (n=903) (initialization): time 0.05789/4.863, allocations: 11.92 MB / 2.527 GB, free: 7.66 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.001725/4.865, allocations: 1.695 MB / 2.529 GB, free: 5.23 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001534/4.865, allocations: 54.73 kB / 2.529 GB, free: 5.18 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003039/4.868, allocations: 0.6174 MB / 2.529 GB, free: 4.547 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01841/4.887, allocations: 1.899 MB / 2.531 GB, free: 2.645 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01856/4.905, allocations: 11.72 MB / 2.543 GB, free: 6.129 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02145/4.927, allocations: 1.156 MB / 2.544 GB, free: 4.98 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002595/4.929, allocations: 367.8 kB / 2.544 GB, free: 4.621 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/4.929, allocations: 4 kB / 2.544 GB, free: 4.617 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04984/4.979, allocations: 10.77 MB / 2.555 GB, free: 9.727 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003558/4.98, allocations: 55.95 kB / 2.555 GB, free: 9.672 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003229/4.983, allocations: 0.6105 MB / 2.555 GB, free: 9.043 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01812/5.001, allocations: 1.868 MB / 2.557 GB, free: 7.172 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01855/5.02, allocations: 11.71 MB / 2.569 GB, free: 10.66 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02029/5.04, allocations: 1.113 MB / 2.57 GB, free: 9.551 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002456/5.043, allocations: 355.8 kB / 2.57 GB, free: 9.203 MB / 1.276 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition3,$PRE.bui.intGai.nextTimeEvent,bui.disFloCoo.conVal.fixMod.y,bui.disFloHea.conVal.fixMod.y,bui.disFloCoo.conVal.conTSup.con1.y,bui.disFloHea.conVal.conTSup.con1.y,bui.terUni.conCoo.con1.y,bui.terUni.conHea.con1.y,$whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,bui.intGai.nextTimeEvent,$PRE.bui.intGai.nextTimeEventScaled,bui.intGai.nextTimeEventScaled,bui.terUni.hexHea.flowRegime,bui.terUni.hexCoo.flowRegime,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,bui.terUni.hexHea.flowRegime_nominal,bui.terUni.hexCoo.flowRegime_nominal,bui.disFloCoo.conVal.conTSup.cheYMinMax.y,bui.disFloHea.conVal.conTSup.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (857): * Single equations (assignments): 848 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 9,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 4,(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01385/5.057, allocations: 3.452 MB / 2.573 GB, free: 5.742 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004529/5.061, allocations: 1.092 MB / 2.575 GB, free: 4.637 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.459/6.52, allocations: 10.91 MB / 2.585 GB, free: 0.6151 GB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04071/6.561, allocations: 8.447 MB / 2.593 GB, free: 0.6146 GB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.955e-05/6.561, allocations: 1.406 kB / 2.593 GB, free: 0.6146 GB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009804/6.571, allocations: 2.494 MB / 2.596 GB, free: 0.6139 GB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005139/6.576, allocations: 110.5 kB / 2.596 GB, free: 0.6138 GB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01908/6.595, allocations: 0.9754 MB / 2.597 GB, free: 0.6137 GB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002033/6.597, allocations: 384.9 kB / 2.597 GB, free: 0.6137 GB / 1.276 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05284/6.65, allocations: 10.22 MB / 2.607 GB, free: 0.6102 GB / 1.276 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.06357/6.714, allocations: 15.55 MB / 2.622 GB, free: 0.6043 GB / 1.276 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0171/6.731, allocations: 4.346 MB / 2.627 GB, free: 0.6028 GB / 1.276 GB Notification: Performance of sorting global known variables: time 0.02204/6.753, allocations: 7.353 MB / 2.634 GB, free: 0.6001 GB / 1.276 GB Notification: Performance of Backend: time 2.284e-06/6.753, allocations: 0 / 2.634 GB, free: 0.6001 GB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.076/6.829, allocations: 16.24 MB / 2.65 GB, free: 0.5929 GB / 1.276 GB Notification: Performance of SimCode: time 0.09822/6.927, allocations: 29.55 MB / 2.679 GB, free: 0.565 GB / 1.276 GB Notification: Performance of Templates: time 0.6012/7.528, allocations: 255.6 MB / 2.928 GB, free: 324.7 MB / 1.276 GB