Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries.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.CouplingTimeSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.643/4.643, allocations: 0.5623 GB / 0.5775 GB, free: 66.96 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002777/0.002776, allocations: 362.2 kB / 0.6446 GB, free: 21.42 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.325/4.325, allocations: 410.7 MB / 1.113 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001814/0.001814, allocations: 172.6 kB / 1.226 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0005371/0.0005373, allocations: 11.98 kB / 1.349 GB, free: 321 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2302, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries): time 2.53/2.761, allocations: 0.6339 GB / 2.095 GB, free: 44.71 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.2392/3, allocations: 128.8 MB / 2.221 GB, free: 43.42 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0286/3.029, allocations: 0.5081 MB / 2.222 GB, free: 43.42 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.03065/3.059, allocations: 6.111 MB / 2.227 GB, free: 43.41 MB / 1.01 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.09581/3.155, allocations: 20.43 MB / 2.247 GB, free: 35.02 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.07095/3.226, allocations: 14.74 MB / 2.262 GB, free: 31.37 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.06151/3.288, allocations: 34.3 MB / 2.295 GB, free: 11.25 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0177/3.305, allocations: 6.787 MB / 2.302 GB, free: 4.523 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02758/3.333, allocations: 8.459 MB / 2.31 GB, free: 12.5 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01789/3.351, allocations: 6.242 MB / 2.316 GB, free: 6.742 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.003732/3.355, allocations: 352 kB / 2.317 GB, free: 6.398 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02336/3.378, allocations: 4.748 MB / 2.321 GB, free: 1.902 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.006151/3.384, allocations: 2.208 MB / 2.323 GB, free: 15.73 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.006438/3.391, allocations: 2.243 MB / 2.326 GB, free: 13.48 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.03362/3.424, allocations: 17.41 MB / 2.343 GB, free: 12.63 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/3.424, allocations: 0 / 2.343 GB, free: 12.63 MB / 1.057 GB Notification: Performance of FrontEnd: time 3.367e-06/3.425, allocations: 2.625 kB / 2.343 GB, free: 12.63 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.0005563/3.425, allocations: 0 / 2.343 GB, free: 12.63 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: 1459 * Number of variables: 1459 Notification: Performance of Generate backend data structure: time 0.0327/3.458, allocations: 9.232 MB / 2.352 GB, free: 3.438 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/3.458, allocations: 12.03 kB / 2.352 GB, free: 3.426 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02087/3.479, allocations: 2.383 MB / 2.354 GB, free: 1.035 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03191/3.511, allocations: 9.758 MB / 2.364 GB, free: 7.426 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004314/3.515, allocations: 0.9633 MB / 2.364 GB, free: 6.438 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002506/3.518, allocations: 0.6196 MB / 2.365 GB, free: 5.82 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02693/3.545, allocations: 7.365 MB / 2.372 GB, free: 14.25 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002069/3.545, allocations: 11.88 kB / 2.372 GB, free: 14.23 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001185/3.546, allocations: 249.7 kB / 2.372 GB, free: 14 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003022/3.546, allocations: 214.7 kB / 2.373 GB, free: 13.79 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02691/3.573, allocations: 6.315 MB / 2.379 GB, free: 7.461 MB / 1.089 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.087/3.66, allocations: 36.96 MB / 2.415 GB, free: 1.004 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0192/3.68, allocations: 4.422 MB / 2.419 GB, free: 12.57 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009246/3.689, allocations: 2.252 MB / 2.421 GB, free: 10.32 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03244/3.721, allocations: 11.42 MB / 2.433 GB, free: 14.29 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01098/3.732, allocations: 2.526 MB / 2.435 GB, free: 11.71 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0053/3.738, allocations: 0.5387 MB / 2.436 GB, free: 11.17 MB / 1.151 GB Notification: Performance of pre-optimization done (n=313): time 1.556e-05/3.738, allocations: 0 / 2.436 GB, free: 11.17 MB / 1.151 GB Notification: Performance of matching and sorting (n=313): time 0.04483/3.783, allocations: 8.228 MB / 2.444 GB, free: 2.844 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002095/3.783, allocations: 269.7 kB / 2.444 GB, free: 2.523 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02317/3.806, allocations: 7.59 MB / 2.451 GB, free: 10.96 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001235/3.807, allocations: 121.3 kB / 2.451 GB, free: 10.84 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.007637/3.815, allocations: 4.044 MB / 2.455 GB, free: 6.793 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002324/3.817, allocations: 1.067 MB / 2.456 GB, free: 5.738 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006534/3.818, allocations: 92 kB / 2.457 GB, free: 5.648 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0004936/3.819, allocations: 486.6 kB / 2.457 GB, free: 5.168 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009867/3.829, allocations: 2.117 MB / 2.459 GB, free: 3.043 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01203/3.841, allocations: 3.846 MB / 2.463 GB, free: 14.47 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01048/3.851, allocations: 2.546 MB / 2.465 GB, free: 11.92 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.074e-05/3.851, allocations: 12 kB / 2.465 GB, free: 11.91 MB / 1.182 GB Notification: Performance of matching and sorting (n=583) (initialization): time 0.0286/3.88, allocations: 6.866 MB / 2.472 GB, free: 5 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001359/3.881, allocations: 1.322 MB / 2.473 GB, free: 3.113 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001107/3.881, allocations: 40 kB / 2.473 GB, free: 3.074 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008618/3.89, allocations: 1.035 MB / 2.474 GB, free: 2.035 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00957/3.9, allocations: 1.104 MB / 2.475 GB, free: 0.9297 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006422/3.906, allocations: 3.392 MB / 2.479 GB, free: 13.44 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01317/3.919, allocations: 0.6998 MB / 2.479 GB, free: 12.74 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001498/3.921, allocations: 243.9 kB / 2.48 GB, free: 12.5 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/3.921, allocations: 4 kB / 2.48 GB, free: 12.5 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02425/3.945, allocations: 5.843 MB / 2.485 GB, free: 6.633 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001285/3.945, allocations: 43.94 kB / 2.485 GB, free: 6.59 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008082/3.953, allocations: 0.9527 MB / 2.486 GB, free: 5.637 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00871/3.962, allocations: 1.037 MB / 2.487 GB, free: 4.598 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003585/3.966, allocations: 1.97 MB / 2.489 GB, free: 2.578 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01358/3.979, allocations: 0.6694 MB / 2.49 GB, free: 1.918 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001593/3.981, allocations: 227.9 kB / 2.49 GB, free: 1.695 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 184 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition1,$PRE.bui.loa.nextTimeEvent,$whenCondition2,$PRE.QAveHeaReq_flow.mode,QAveHeaReq_flow.mode,$whenCondition3,$PRE.QAveHeaAct_flow.mode,QAveHeaAct_flow.mode,$whenCondition4,$PRE.QAveCooReq_flow.mode,QAveCooReq_flow.mode,$whenCondition5,$PRE.QAveCooAct_flow.mode,QAveCooAct_flow.mode,bui.terUniCoo.con1.y,bui.terUniHea.con1.y,$whenCondition7,$whenCondition6,bui.loa.nextTimeEvent,$PRE.bui.loa.nextTimeEventScaled,bui.loa.nextTimeEventScaled,bui.terUniHea.hex.flowRegime,$PRE.bui.terUniHea.greThr.greHys.y,bui.terUniHea.greThr.greHys.y,bui.terUniCoo.hex.flowRegime,$PRE.bui.terUniCoo.greThr.greHys.y,bui.terUniCoo.greThr.greHys.y,bui.terUniHea.hex.flowRegime_nominal,bui.terUniCoo.hex.flowRegime_nominal,ECooAct.local_reset,ECooReq.local_reset,EHeaAct.local_reset,EHeaReq.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (531): * Single equations (assignments): 523 * 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.01017/3.991, allocations: 2.246 MB / 2.492 GB, free: 15.45 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003501/3.995, allocations: 0.7777 MB / 2.493 GB, free: 14.66 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03462/4.03, allocations: 5.655 MB / 2.499 GB, free: 8.988 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02585/4.055, allocations: 4.467 MB / 2.503 GB, free: 4.418 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.547e-05/4.056, allocations: 0 / 2.503 GB, free: 4.418 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006583/4.062, allocations: 1.592 MB / 2.505 GB, free: 2.797 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002787/4.065, allocations: 67.95 kB / 2.505 GB, free: 2.73 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0108/4.076, allocations: 0.5461 MB / 2.505 GB, free: 2.184 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001054/4.077, allocations: 218.2 kB / 2.505 GB, free: 1.969 MB / 1.214 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 1.303/5.38, allocations: 5.861 MB / 2.511 GB, free: 0.572 GB / 1.214 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03264/5.412, allocations: 8.098 MB / 2.519 GB, free: 0.5698 GB / 1.214 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008885/5.421, allocations: 2.154 MB / 2.521 GB, free: 0.569 GB / 1.214 GB Notification: Performance of sorting global known variables: time 0.01552/5.437, allocations: 5.107 MB / 2.526 GB, free: 0.567 GB / 1.214 GB Notification: Performance of Backend: time 9.32e-07/5.437, allocations: 1.75 kB / 2.526 GB, free: 0.567 GB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.04017/5.477, allocations: 8.929 MB / 2.535 GB, free: 0.5648 GB / 1.214 GB Notification: Performance of SimCode: time 0.06468/5.542, allocations: 20.71 MB / 2.555 GB, free: 0.5551 GB / 1.214 GB Notification: Performance of Templates: time 0.4297/5.972, allocations: 188.2 MB / 2.739 GB, free: 397.2 MB / 1.214 GB