Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop.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.CouplingTimeSeriesSingleLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.985/4.985, allocations: 0.5623 GB / 0.5776 GB, free: 3.34 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.002575/0.002574, allocations: 363.8 kB / 0.6447 GB, free: 185.7 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.278/4.278, allocations: 410.7 MB / 1.113 GB, free: 6.059 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.001817/0.001816, allocations: 195.2 kB / 1.226 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006675/0.000668, allocations: 15.98 kB / 1.349 GB, free: 8.355 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7208/0.7215, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop): time 4.502/5.223, allocations: 1.126 GB / 2.587 GB, free: 36.28 MB / 1.214 GB Notification: Performance of NFInst.instExpressions: time 0.4839/5.707, allocations: 248.7 MB / 2.83 GB, free: 33.95 MB / 1.214 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05707/5.764, allocations: 1.005 MB / 2.831 GB, free: 33.95 MB / 1.214 GB Notification: Performance of NFTyping.typeComponents: time 0.06047/5.825, allocations: 11.91 MB / 2.843 GB, free: 27.88 MB / 1.214 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. [/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.179/6.004, allocations: 40.08 MB / 2.882 GB, free: 3.43 MB / 1.214 GB Notification: Performance of NFTyping.typeClassSections: time 0.125/6.129, allocations: 27.26 MB / 2.908 GB, free: 3.043 MB / 1.229 GB Notification: Performance of NFFlatten.flatten: time 0.07893/6.208, allocations: 34.9 MB / 2.942 GB, free: 1.176 MB / 1.26 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02288/6.231, allocations: 6.899 MB / 2.949 GB, free: 10.34 MB / 1.276 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03056/6.262, allocations: 8.554 MB / 2.957 GB, free: 2.223 MB / 1.276 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01736/6.279, allocations: 6.328 MB / 2.964 GB, free: 12.38 MB / 1.292 GB Notification: Performance of NFPackage.collectConstants: time 0.004105/6.283, allocations: 363.9 kB / 2.964 GB, free: 12.03 MB / 1.292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02397/6.307, allocations: 4.758 MB / 2.969 GB, free: 7.523 MB / 1.292 GB Notification: Performance of NFScalarize.scalarize: time 0.006243/6.313, allocations: 2.243 MB / 2.971 GB, free: 5.316 MB / 1.292 GB Notification: Performance of NFVerifyModel.verify: time 0.006428/6.32, allocations: 2.274 MB / 2.973 GB, free: 3.031 MB / 1.292 GB Notification: Performance of NFConvertDAE.convert: time 0.03414/6.354, allocations: 17.6 MB / 2.99 GB, free: 2.008 MB / 1.307 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/6.354, allocations: 4 kB / 2.99 GB, free: 2.004 MB / 1.307 GB Notification: Performance of FrontEnd: time 2.585e-06/6.354, allocations: 0 / 2.99 GB, free: 2.004 MB / 1.307 GB Notification: Performance of Transformations before backend: time 0.0005582/6.355, allocations: 0 / 2.99 GB, free: 2.004 MB / 1.307 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1478 * Number of variables: 1478 Notification: Performance of Generate backend data structure: time 0.03469/6.389, allocations: 9.448 MB / 2.999 GB, free: 8.586 MB / 1.323 GB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/6.389, allocations: 19.95 kB / 2.999 GB, free: 8.566 MB / 1.323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02114/6.411, allocations: 2.407 MB / 3.002 GB, free: 6.152 MB / 1.323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03291/6.444, allocations: 9.89 MB / 3.011 GB, free: 12.39 MB / 1.339 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004631/6.448, allocations: 0.9744 MB / 3.012 GB, free: 11.39 MB / 1.339 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002617/6.451, allocations: 0.624 MB / 3.013 GB, free: 10.77 MB / 1.339 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03015/6.481, allocations: 7.459 MB / 3.02 GB, free: 3.082 MB / 1.339 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002739/6.481, allocations: 19.83 kB / 3.02 GB, free: 3.062 MB / 1.339 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001565/6.483, allocations: 246.7 kB / 3.021 GB, free: 2.824 MB / 1.339 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003294/6.483, allocations: 222.8 kB / 3.021 GB, free: 2.602 MB / 1.339 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03733/6.521, allocations: 6.378 MB / 3.027 GB, free: 12.2 MB / 1.354 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.1008/6.622, allocations: 37.48 MB / 3.064 GB, free: 5.203 MB / 1.385 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02025/6.642, allocations: 4.574 MB / 3.068 GB, free: 0.6016 MB / 1.385 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009429/6.651, allocations: 2.277 MB / 3.07 GB, free: 14.32 MB / 1.401 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03225/6.684, allocations: 11.72 MB / 3.082 GB, free: 1.992 MB / 1.401 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01136/6.695, allocations: 2.576 MB / 3.084 GB, free: 15.37 MB / 1.417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008415/6.704, allocations: 0.5536 MB / 3.085 GB, free: 14.81 MB / 1.417 GB Notification: Performance of pre-optimization done (n=322): time 2.798e-05/6.704, allocations: 0 / 3.085 GB, free: 14.81 MB / 1.417 GB Notification: Performance of matching and sorting (n=322): time 0.0658/6.769, allocations: 8.359 MB / 3.093 GB, free: 6.398 MB / 1.417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002208/6.77, allocations: 325.3 kB / 3.093 GB, free: 6.012 MB / 1.417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02312/6.793, allocations: 7.807 MB / 3.101 GB, free: 14.25 MB / 1.432 GB Notification: Performance of collectPreVariables (initialization): time 0.001269/6.794, allocations: 121.7 kB / 3.101 GB, free: 14.12 MB / 1.432 GB Notification: Performance of collectInitialEqns (initialization): time 0.007414/6.802, allocations: 4.141 MB / 3.105 GB, free: 9.98 MB / 1.432 GB Notification: Performance of collectInitialBindings (initialization): time 0.002379/6.804, allocations: 1.096 MB / 3.106 GB, free: 8.898 MB / 1.432 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007315/6.805, allocations: 92 kB / 3.106 GB, free: 8.809 MB / 1.432 GB Notification: Performance of setup shared object (initialization): time 0.0004945/6.805, allocations: 488.1 kB / 3.107 GB, free: 8.324 MB / 1.432 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01049/6.816, allocations: 2.141 MB / 3.109 GB, free: 6.176 MB / 1.432 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0125/6.828, allocations: 3.903 MB / 3.113 GB, free: 1.535 MB / 1.432 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01067/6.839, allocations: 2.593 MB / 3.115 GB, free: 14.95 MB / 1.448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.422e-05/6.839, allocations: 16 kB / 3.115 GB, free: 14.93 MB / 1.448 GB Notification: Performance of matching and sorting (n=594) (initialization): time 0.02901/6.868, allocations: 6.991 MB / 3.122 GB, free: 7.926 MB / 1.448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001244/6.87, allocations: 1.344 MB / 3.123 GB, free: 6.016 MB / 1.448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.041e-05/6.87, allocations: 55.89 kB / 3.123 GB, free: 5.961 MB / 1.448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008505/6.878, allocations: 1.03 MB / 3.124 GB, free: 4.93 MB / 1.448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009801/6.888, allocations: 1.119 MB / 3.125 GB, free: 3.809 MB / 1.448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005897/6.894, allocations: 3.396 MB / 3.129 GB, free: 324 kB / 1.448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.322/8.216, allocations: 0.7091 MB / 3.129 GB, free: 0.8152 GB / 1.448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001431/8.218, allocations: 245.1 kB / 3.13 GB, free: 0.8152 GB / 1.448 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/8.218, allocations: 5.359 kB / 3.13 GB, free: 0.8152 GB / 1.448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02354/8.241, allocations: 5.952 MB / 3.135 GB, free: 0.814 GB / 1.448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001628/8.241, allocations: 40.59 kB / 3.136 GB, free: 0.814 GB / 1.448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008153/8.249, allocations: 0.9575 MB / 3.136 GB, free: 0.8138 GB / 1.448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008896/8.258, allocations: 1.059 MB / 3.137 GB, free: 0.8137 GB / 1.448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003372/8.262, allocations: 1.979 MB / 3.139 GB, free: 0.8123 GB / 1.448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01253/8.274, allocations: 0.6674 MB / 3.14 GB, free: 0.8122 GB / 1.448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001489/8.276, allocations: 237.4 kB / 3.14 GB, free: 0.8122 GB / 1.448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 186 * Number of states: 0 () * Number of discrete variables: 38 ($whenCondition5,$PRE.buiHea.loa.nextTimeEvent,$whenCondition6,$PRE.QAveHeaReq_flow.mode,QAveHeaReq_flow.mode,$whenCondition7,$PRE.QAveHeaAct_flow.mode,QAveHeaAct_flow.mode,$whenCondition1,$PRE.buiCoo.loa.nextTimeEvent,$whenCondition2,$PRE.QAveCooReq_flow.mode,QAveCooReq_flow.mode,$whenCondition3,$PRE.QAveCooAct_flow.mode,QAveCooAct_flow.mode,buiCoo.terUniCoo.con1.y,$whenCondition4,buiCoo.loa.nextTimeEvent,$PRE.buiCoo.loa.nextTimeEventScaled,buiCoo.loa.nextTimeEventScaled,buiCoo.terUniCoo.hex.flowRegime,$PRE.buiCoo.terUniCoo.greThr.greHys.y,buiCoo.terUniCoo.greThr.greHys.y,buiCoo.terUniCoo.hex.flowRegime_nominal,buiHea.terUniHea.con1.y,$whenCondition8,buiHea.loa.nextTimeEvent,$PRE.buiHea.loa.nextTimeEventScaled,buiHea.loa.nextTimeEventScaled,buiHea.terUniHea.hex.flowRegime,$PRE.buiHea.terUniHea.greThr.greHys.y,buiHea.terUniHea.greThr.greHys.y,buiHea.terUniHea.hex.flowRegime_nominal,EHeaAct.local_reset,EHeaReq.local_reset,ECooAct.local_reset,ECooReq.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (542): * Single equations (assignments): 534 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 24,1 24} Notification: Performance of prepare postOptimizeDAE: time 0.008173/8.284, allocations: 2.276 MB / 3.143 GB, free: 0.8109 GB / 1.448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002875/8.287, allocations: 0.8012 MB / 3.143 GB, free: 0.8109 GB / 1.448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02588/8.313, allocations: 5.827 MB / 3.149 GB, free: 0.8088 GB / 1.448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02009/8.333, allocations: 4.982 MB / 3.154 GB, free: 0.8065 GB / 1.448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.58e-05/8.333, allocations: 9.672 kB / 3.154 GB, free: 0.8065 GB / 1.448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005897/8.339, allocations: 1.623 MB / 3.155 GB, free: 0.8057 GB / 1.448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002982/8.342, allocations: 82.12 kB / 3.156 GB, free: 0.8057 GB / 1.448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.011/8.353, allocations: 0.563 MB / 3.156 GB, free: 0.8056 GB / 1.448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001099/8.354, allocations: 218.8 kB / 3.156 GB, free: 0.8056 GB / 1.448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02856/8.383, allocations: 6.132 MB / 3.162 GB, free: 0.8034 GB / 1.448 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02848/8.411, allocations: 8.338 MB / 3.17 GB, free: 0.7997 GB / 1.448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007629/8.419, allocations: 2.205 MB / 3.173 GB, free: 0.7989 GB / 1.448 GB Notification: Performance of sorting global known variables: time 0.01314/8.432, allocations: 5.249 MB / 3.178 GB, free: 0.7969 GB / 1.448 GB Notification: Performance of Backend: time 1.322e-06/8.432, allocations: 2.562 kB / 3.178 GB, free: 0.7969 GB / 1.448 GB Notification: Performance of simCode: created initialization part: time 0.03409/8.467, allocations: 9.045 MB / 3.187 GB, free: 0.7924 GB / 1.448 GB Notification: Performance of SimCode: time 0.05708/8.524, allocations: 21.12 MB / 3.207 GB, free: 0.7725 GB / 1.448 GB Notification: Performance of Templates: time 0.4351/8.959, allocations: 191.4 MB / 3.394 GB, free: 0.5873 GB / 1.448 GB