Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Examples.Tutorial.CDL.System4.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.Examples.Tutorial.CDL.System4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Examples.Tutorial.CDL.System4") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.916/4.916, allocations: 0.5623 GB / 0.5776 GB, free: 3.332 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.002517/0.002517, allocations: 359.4 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.247/4.247, allocations: 410.7 MB / 1.113 GB, free: 5.988 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.001887/0.001887, allocations: 194.9 kB / 1.226 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006666/0.0006669, allocations: 12 kB / 1.349 GB, free: 8.246 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7236/0.7242, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System4): time 1.331/2.055, allocations: 481.7 MB / 1.932 GB, free: 29.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1391/2.194, allocations: 68.43 MB / 1.999 GB, free: 9.207 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01692/2.211, allocations: 365.4 kB / 1.999 GB, free: 8.848 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.02142/2.233, allocations: 4.095 MB / 2.003 GB, free: 4.727 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.05799/2.291, allocations: 13.48 MB / 2.016 GB, free: 7.195 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.04546/2.336, allocations: 10.7 MB / 2.027 GB, free: 12.73 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.06309/2.399, allocations: 35.3 MB / 2.061 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02422/2.424, allocations: 8.728 MB / 2.07 GB, free: 0.5391 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02725/2.451, allocations: 8.982 MB / 2.078 GB, free: 7.516 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02106/2.472, allocations: 8.132 MB / 2.086 GB, free: 15.34 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.004373/2.476, allocations: 420 kB / 2.087 GB, free: 14.93 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01963/2.496, allocations: 3.874 MB / 2.09 GB, free: 11.05 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.006519/2.503, allocations: 2.373 MB / 2.093 GB, free: 8.672 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.00715/2.51, allocations: 2.413 MB / 2.095 GB, free: 6.246 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.02925/2.539, allocations: 14.84 MB / 2.11 GB, free: 7.395 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.031e-05/2.539, allocations: 4 kB / 2.11 GB, free: 7.391 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.765e-06/2.539, allocations: 0 / 2.11 GB, free: 7.391 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0006621/2.54, allocations: 0 / 2.11 GB, free: 7.391 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1860 * Number of variables: 1860 Notification: Performance of Generate backend data structure: time 1.288/3.828, allocations: 11.12 MB / 2.12 GB, free: 405.9 MB / 1.011 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/3.828, allocations: 15.06 kB / 2.12 GB, free: 405.9 MB / 1.011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01698/3.845, allocations: 2.079 MB / 2.123 GB, free: 405.2 MB / 1.011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03443/3.879, allocations: 9.958 MB / 2.132 GB, free: 400.3 MB / 1.011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001026/3.88, allocations: 0.5694 MB / 2.133 GB, free: 400 MB / 1.011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002985/3.883, allocations: 0.7677 MB / 2.134 GB, free: 399.8 MB / 1.011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03259/3.916, allocations: 8.65 MB / 2.142 GB, free: 394.4 MB / 1.011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005059/3.917, allocations: 15.28 kB / 2.142 GB, free: 394.4 MB / 1.011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002399/3.919, allocations: 313.7 kB / 2.142 GB, free: 394.2 MB / 1.011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003961/3.92, allocations: 294 kB / 2.143 GB, free: 394.1 MB / 1.011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02624/3.946, allocations: 7.051 MB / 2.149 GB, free: 390.6 MB / 1.011 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.09/4.036, allocations: 41.25 MB / 2.19 GB, free: 351.1 MB / 1.011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01189/4.048, allocations: 4.662 MB / 2.194 GB, free: 346.4 MB / 1.011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006745/4.055, allocations: 2.408 MB / 2.197 GB, free: 344 MB / 1.011 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.03803/4.093, allocations: 10.4 MB / 2.207 GB, free: 333.3 MB / 1.011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008043/4.101, allocations: 2.537 MB / 2.209 GB, free: 330.7 MB / 1.011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006185/4.107, allocations: 459 kB / 2.21 GB, free: 330.3 MB / 1.011 GB Notification: Performance of pre-optimization done (n=405): time 4.125e-05/4.107, allocations: 3.625 kB / 2.21 GB, free: 330.3 MB / 1.011 GB Notification: Performance of matching and sorting (n=414): time 0.06666/4.174, allocations: 14.86 MB / 2.224 GB, free: 315.3 MB / 1.011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001697/4.174, allocations: 0.5849 MB / 2.225 GB, free: 314.6 MB / 1.011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01957/4.194, allocations: 8.176 MB / 2.233 GB, free: 306.4 MB / 1.011 GB Notification: Performance of collectPreVariables (initialization): time 0.001471/4.195, allocations: 139.9 kB / 2.233 GB, free: 306.3 MB / 1.011 GB Notification: Performance of collectInitialEqns (initialization): time 0.006486/4.202, allocations: 5.036 MB / 2.238 GB, free: 301.2 MB / 1.011 GB Notification: Performance of collectInitialBindings (initialization): time 0.002288/4.204, allocations: 1.434 MB / 2.239 GB, free: 299.8 MB / 1.011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007024/4.205, allocations: 112 kB / 2.239 GB, free: 299.7 MB / 1.011 GB Notification: Performance of setup shared object (initialization): time 0.0003801/4.205, allocations: 0.5221 MB / 2.24 GB, free: 299.2 MB / 1.011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007971/4.213, allocations: 2.174 MB / 2.242 GB, free: 297 MB / 1.011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009595/4.223, allocations: 3.994 MB / 2.246 GB, free: 292.3 MB / 1.011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00951/4.232, allocations: 2.769 MB / 2.249 GB, free: 289.6 MB / 1.011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.995e-05/4.232, allocations: 8 kB / 2.249 GB, free: 289.6 MB / 1.011 GB Notification: Performance of matching and sorting (n=733) (initialization): time 0.03639/4.269, allocations: 8.112 MB / 2.257 GB, free: 281.5 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007455/4.27, allocations: 1.295 MB / 2.258 GB, free: 279.7 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001131/4.27, allocations: 47.98 kB / 2.258 GB, free: 279.6 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01702/4.287, allocations: 1.868 MB / 2.26 GB, free: 277.8 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009844/4.297, allocations: 1.232 MB / 2.261 GB, free: 276.6 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0147/4.311, allocations: 7.862 MB / 2.269 GB, free: 268.2 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01511/4.326, allocations: 0.7619 MB / 2.269 GB, free: 267.5 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001559/4.328, allocations: 275.9 kB / 2.27 GB, free: 267.2 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/4.328, allocations: 0 / 2.27 GB, free: 267.2 MB / 1.011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02852/4.357, allocations: 6.96 MB / 2.276 GB, free: 260.1 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001413/4.357, allocations: 47.83 kB / 2.276 GB, free: 260.1 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01537/4.372, allocations: 1.728 MB / 2.278 GB, free: 258.4 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009058/4.381, allocations: 1.186 MB / 2.279 GB, free: 257.2 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02021/4.402, allocations: 9.788 MB / 2.289 GB, free: 246.8 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01377/4.415, allocations: 0.7287 MB / 2.29 GB, free: 246.1 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001413/4.417, allocations: 263.9 kB / 2.29 GB, free: 245.8 MB / 1.011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,conBoiRet.conPID.con1.y,$whenCondition3,$whenCondition2,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.conEquSta.hys.y,conEquSta.hys.y,boiSigCon.u,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (668): * Single equations (assignments): 652 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 3 {3 8,13 22,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.007353/4.424, allocations: 2.295 MB / 2.292 GB, free: 243.5 MB / 1.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003177/4.427, allocations: 0.9066 MB / 2.293 GB, free: 242.6 MB / 1.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02254/4.45, allocations: 6.172 MB / 2.299 GB, free: 236.4 MB / 1.011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01587/4.466, allocations: 4.547 MB / 2.303 GB, free: 231.9 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.594e-05/4.466, allocations: 3.953 kB / 2.303 GB, free: 231.9 MB / 1.011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006466/4.473, allocations: 1.676 MB / 2.305 GB, free: 230.1 MB / 1.011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00326/4.476, allocations: 107.9 kB / 2.305 GB, free: 230 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01251/4.488, allocations: 0.618 MB / 2.306 GB, free: 229.4 MB / 1.011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001169/4.49, allocations: 331.1 kB / 2.306 GB, free: 229.1 MB / 1.011 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02435/4.514, allocations: 5.768 MB / 2.312 GB, free: 223.4 MB / 1.011 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02454/4.539, allocations: 7.857 MB / 2.319 GB, free: 215.5 MB / 1.011 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005934/4.545, allocations: 2.125 MB / 2.321 GB, free: 213.3 MB / 1.011 GB Notification: Performance of sorting global known variables: time 0.01303/4.558, allocations: 5.394 MB / 2.327 GB, free: 208 MB / 1.011 GB Notification: Performance of Backend: time 1.122e-06/4.558, allocations: 0 / 2.327 GB, free: 208 MB / 1.011 GB Notification: Performance of simCode: created initialization part: time 0.04602/4.604, allocations: 11.28 MB / 2.338 GB, free: 197.4 MB / 1.011 GB Notification: Performance of SimCode: time 0.06754/4.671, allocations: 25.42 MB / 2.362 GB, free: 172.1 MB / 1.011 GB Notification: Performance of Templates: time 1.167/5.839, allocations: 198.5 MB / 2.556 GB, free: 374.5 MB / 1.011 GB