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 2.466/2.466, allocations: 287.9 MB / 302.9 MB, free: 8.281 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001437/0.001437, allocations: 183.8 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.069/2.069, allocations: 205.4 MB / 0.6301 GB, free: 10.39 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001102/0.001101, allocations: 94.8 kB / 0.7434 GB, free: 6.391 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004652/0.0004657, allocations: 15.41 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1574, allocations: 115.3 MB / 0.9788 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries): time 2.076/2.234, allocations: 0.5771 GB / 1.556 GB, free: 44.67 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.2216/2.455, allocations: 120.7 MB / 1.674 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02306/2.478, allocations: 495.6 kB / 1.674 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.02687/2.505, allocations: 6.88 MB / 1.681 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0755/2.581, allocations: 19.13 MB / 1.7 GB, free: 4.715 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.05681/2.638, allocations: 14.75 MB / 1.714 GB, free: 6.051 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.03987/2.678, allocations: 15.96 MB / 1.73 GB, free: 6.062 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01701/2.695, allocations: 6.856 MB / 1.736 GB, free: 15.14 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02396/2.719, allocations: 8.012 MB / 1.744 GB, free: 7.098 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01036/2.729, allocations: 4.375 MB / 1.748 GB, free: 2.703 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.002935/2.732, allocations: 348 kB / 1.749 GB, free: 2.363 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01907/2.751, allocations: 5.11 MB / 1.754 GB, free: 13.25 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.004647/2.756, allocations: 2.051 MB / 1.756 GB, free: 11.19 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.005111/2.761, allocations: 2.239 MB / 1.758 GB, free: 8.938 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.02917/2.79, allocations: 17.26 MB / 1.775 GB, free: 7.633 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 3.642e-06/2.79, allocations: 0 / 1.775 GB, free: 7.633 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.779e-06/2.79, allocations: 0 / 1.775 GB, free: 7.633 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.0003528/2.79, allocations: 4 kB / 1.775 GB, free: 7.629 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.02557/2.816, allocations: 9.217 MB / 1.784 GB, free: 14.3 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/2.816, allocations: 8.031 kB / 1.784 GB, free: 14.29 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01601/2.832, allocations: 2.388 MB / 1.786 GB, free: 11.89 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02597/2.858, allocations: 9.658 MB / 1.796 GB, free: 2.164 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002936/2.861, allocations: 0.9568 MB / 1.797 GB, free: 1.18 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002054/2.863, allocations: 0.621 MB / 1.797 GB, free: 0.5586 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02365/2.887, allocations: 7.303 MB / 1.804 GB, free: 9.035 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001722/2.887, allocations: 15.88 kB / 1.804 GB, free: 9.02 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001158/2.888, allocations: 236 kB / 1.805 GB, free: 8.789 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002865/2.889, allocations: 229.6 kB / 1.805 GB, free: 8.566 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02244/2.911, allocations: 6.276 MB / 1.811 GB, free: 2.281 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.07756/2.989, allocations: 36.95 MB / 1.847 GB, free: 11.47 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01473/3.003, allocations: 4.388 MB / 1.851 GB, free: 7.047 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5796/3.583, allocations: 11.07 MB / 1.862 GB, free: 0.5013 GB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007975/3.591, allocations: 2.5 MB / 1.864 GB, free: 0.5003 GB / 1.135 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003882/3.595, allocations: 0.5374 MB / 1.865 GB, free: 0.5003 GB / 1.135 GB Notification: Performance of pre-optimization done (n=313): time 1.827e-05/3.595, allocations: 4.594 kB / 1.865 GB, free: 0.5003 GB / 1.135 GB Notification: Performance of matching and sorting (n=313): time 0.03313/3.628, allocations: 8.176 MB / 1.873 GB, free: 0.498 GB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/3.628, allocations: 266.5 kB / 1.873 GB, free: 0.4977 GB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01989/3.648, allocations: 7.663 MB / 1.881 GB, free: 0.4949 GB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.0009946/3.649, allocations: 118.2 kB / 1.881 GB, free: 0.4948 GB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.005628/3.655, allocations: 4.044 MB / 1.885 GB, free: 0.4922 GB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.001702/3.657, allocations: 1.075 MB / 1.886 GB, free: 0.4914 GB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004685/3.657, allocations: 91.16 kB / 1.886 GB, free: 0.4913 GB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0003443/3.657, allocations: 478.9 kB / 1.886 GB, free: 0.4909 GB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007771/3.665, allocations: 2.102 MB / 1.888 GB, free: 0.4902 GB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009075/3.674, allocations: 3.812 MB / 1.892 GB, free: 499.1 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007718/3.682, allocations: 2.531 MB / 1.895 GB, free: 498 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.285e-05/3.682, allocations: 11.88 kB / 1.895 GB, free: 498 MB / 1.135 GB Notification: Performance of matching and sorting (n=583) (initialization): time 0.02253/3.705, allocations: 6.837 MB / 1.901 GB, free: 495.3 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.004111/3.709, allocations: 22.07 MB / 1.923 GB, free: 472.4 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001593/3.709, allocations: 40.75 kB / 1.923 GB, free: 472.4 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006065/3.715, allocations: 1.034 MB / 1.924 GB, free: 472.2 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006668/3.722, allocations: 1.109 MB / 1.925 GB, free: 472.1 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004302/3.726, allocations: 3.392 MB / 1.928 GB, free: 469.5 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009993/3.736, allocations: 0.6925 MB / 1.929 GB, free: 469.4 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001234/3.738, allocations: 249.4 kB / 1.929 GB, free: 469.3 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/3.738, allocations: 7.891 kB / 1.929 GB, free: 469.3 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01669/3.754, allocations: 5.8 MB / 1.935 GB, free: 467 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001206/3.754, allocations: 39.16 kB / 1.935 GB, free: 467 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005165/3.76, allocations: 0.9522 MB / 1.936 GB, free: 466.9 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005567/3.765, allocations: 1.047 MB / 1.937 GB, free: 466.8 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002609/3.768, allocations: 1.973 MB / 1.939 GB, free: 465.3 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009045/3.777, allocations: 0.6632 MB / 1.939 GB, free: 465.2 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001061/3.778, allocations: 235.2 kB / 1.94 GB, free: 465.1 MB / 1.135 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.005926/3.784, allocations: 2.265 MB / 1.942 GB, free: 463.7 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001964/3.786, allocations: 0.7729 MB / 1.943 GB, free: 463.3 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01721/3.803, allocations: 5.627 MB / 1.948 GB, free: 461.2 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.331e-05/3.803, allocations: 35.19 kB / 1.948 GB, free: 461.2 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.558e-05/3.803, allocations: 3.875 kB / 1.948 GB, free: 461.2 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01338/3.817, allocations: 4.426 MB / 1.953 GB, free: 459.3 MB / 1.135 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 postOpt removeSimpleEquations (simulation): time 0.03458/3.851, allocations: 14.91 MB / 1.967 GB, free: 449.3 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.879e-05/3.851, allocations: 7.812 kB / 1.967 GB, free: 449.3 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004529/3.856, allocations: 0.7093 MB / 1.968 GB, free: 449.1 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005716/3.862, allocations: 0.9922 MB / 1.969 GB, free: 448.1 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007558/3.863, allocations: 111.9 kB / 1.969 GB, free: 448 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003756/3.866, allocations: 3.331 MB / 1.972 GB, free: 444.6 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.029e-05/3.866, allocations: 11.94 kB / 1.972 GB, free: 444.6 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02199/3.888, allocations: 10.36 MB / 1.982 GB, free: 433.7 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004685/3.893, allocations: 1.627 MB / 1.984 GB, free: 432.1 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002084/3.895, allocations: 91.78 kB / 1.984 GB, free: 432 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007815/3.903, allocations: 0.5849 MB / 1.984 GB, free: 431.4 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007415/3.904, allocations: 249.9 kB / 1.985 GB, free: 431.2 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005306/3.904, allocations: 147.9 kB / 1.985 GB, free: 431 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.01171/3.916, allocations: 5.164 MB / 1.99 GB, free: 425.9 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.053e-06/3.916, allocations: 0 / 1.99 GB, free: 425.9 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.01632/3.932, allocations: 4.028 MB / 1.994 GB, free: 421.9 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 22 (bui.terUniHea.fan.vol.dynBal.U,bui.terUniHea.fan.vol.dynBal.m,bui.terUniHea.fan.vol.dynBal.mXi[1],bui.terUniHea.con.I.y,bui.terUniHea.TLoaODE.TAir,bui.disFloHea.heaCoo.vol.dynBal.U,bui.disFloHea.senTSup.T,bui.disFloCoo.heaCoo.vol.dynBal.U,bui.disFloCoo.senTSup.T,bui.terUniCoo.con.I.y,bui.terUniCoo.fan.vol.dynBal.U,bui.terUniCoo.fan.vol.dynBal.m,bui.terUniCoo.fan.vol.dynBal.mXi[1],bui.terUniCoo.TLoaODE.TAir,EHeaReq.y,EHeaAct.y,ECooReq.y,ECooAct.y,QAveHeaReq_flow.mu,QAveHeaAct_flow.mu,QAveCooReq_flow.mu,QAveCooAct_flow.mu) * Number of discrete variables: 17 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,bui.loa.nextTimeEvent,bui.loa.nextTimeEventScaled,bui.terUniHea.hex.flowRegime,bui.terUniHea.greThr.greHys.y,bui.terUniCoo.hex.flowRegime,bui.terUniCoo.greThr.greHys.y,QAveHeaReq_flow.mode,QAveHeaAct_flow.mode,QAveCooReq_flow.mode,QAveCooAct_flow.mode) * Number of discrete states: 4 (bui.loa.nextTimeEvent,bui.loa.nextTimeEventScaled,bui.terUniHea.greThr.greHys.y,bui.terUniCoo.greThr.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (289): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 6 * 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 26,1 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.005075/3.938, allocations: 1.953 MB / 1.996 GB, free: 420.5 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.02292/3.961, allocations: 8.101 MB / 2.004 GB, free: 412.4 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 1.588e-05/3.961, allocations: 8.812 kB / 2.004 GB, free: 412.4 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.00779/3.968, allocations: 2.598 MB / 2.006 GB, free: 409.8 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02031/3.989, allocations: 3.952 MB / 2.01 GB, free: 406 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03641/4.025, allocations: 18.24 MB / 2.028 GB, free: 387.6 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007606/4.033, allocations: 4.471 MB / 2.032 GB, free: 383.1 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.01314/4.046, allocations: 1.851 MB / 2.034 GB, free: 381.2 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002806/4.049, allocations: 0.5579 MB / 2.035 GB, free: 380.7 MB / 1.135 GB Notification: Performance of SimCode: time 2.068e-06/4.049, allocations: 0 / 2.035 GB, free: 380.7 MB / 1.135 GB Notification: Performance of Templates: time 0.3307/4.38, allocations: 162.4 MB / 2.193 GB, free: 218.9 MB / 1.135 GB