Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Examples.Tutorial.CDL.System5.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.System5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Examples.Tutorial.CDL.System5") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.953/4.953, allocations: 0.5623 GB / 0.5776 GB, free: 3.363 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.00245/0.002449, allocations: 360 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.173/4.173, allocations: 410.7 MB / 1.113 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001877/0.001876, allocations: 176 kB / 1.226 GB, free: 35.95 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004884/0.0004887, allocations: 12.78 kB / 1.349 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2159, allocations: 115.3 MB / 1.461 GB, free: 6.594 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System5): time 2.189/2.405, allocations: 481.8 MB / 1.932 GB, free: 58.81 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.1323/2.537, allocations: 68.45 MB / 1.999 GB, free: 57.16 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0176/2.555, allocations: 364.7 kB / 1.999 GB, free: 57 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.01972/2.574, allocations: 4.101 MB / 2.003 GB, free: 55.81 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.05806/2.633, allocations: 13.49 MB / 2.016 GB, free: 50.93 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.04536/2.678, allocations: 10.72 MB / 2.027 GB, free: 48.21 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.05383/2.732, allocations: 35.35 MB / 2.061 GB, free: 36.59 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02361/2.755, allocations: 8.762 MB / 2.07 GB, free: 32.47 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02524/2.781, allocations: 9.003 MB / 2.079 GB, free: 24.88 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0184/2.799, allocations: 8.144 MB / 2.087 GB, free: 18.2 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.004354/2.804, allocations: 424 kB / 2.087 GB, free: 17.79 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01958/2.823, allocations: 3.881 MB / 2.091 GB, free: 14.8 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.006053/2.829, allocations: 2.372 MB / 2.093 GB, free: 13.03 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.006744/2.836, allocations: 2.428 MB / 2.095 GB, free: 11.48 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.02687/2.863, allocations: 14.89 MB / 2.11 GB, free: 14.96 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/2.863, allocations: 3.812 kB / 2.11 GB, free: 14.96 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.186e-06/2.863, allocations: 0 / 2.11 GB, free: 14.96 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000634/2.864, allocations: 0 / 2.11 GB, free: 14.96 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1870 * Number of variables: 1870 Notification: Performance of Generate backend data structure: time 0.03746/2.901, allocations: 11.22 MB / 2.121 GB, free: 4.684 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/2.901, allocations: 12.02 kB / 2.121 GB, free: 4.672 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01691/2.918, allocations: 2.084 MB / 2.123 GB, free: 2.59 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0332/2.951, allocations: 9.985 MB / 2.133 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000927/2.952, allocations: 0.5761 MB / 2.133 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004539/2.957, allocations: 0.7707 MB / 2.134 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0341/2.991, allocations: 8.691 MB / 2.142 GB, free: 2.941 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003244/2.992, allocations: 21.77 kB / 2.143 GB, free: 2.922 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002081/2.994, allocations: 311.4 kB / 2.143 GB, free: 2.621 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003978/2.994, allocations: 286 kB / 2.143 GB, free: 2.34 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02694/3.021, allocations: 7.097 MB / 2.15 GB, free: 11.23 MB / 0.9792 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.09942/3.12, allocations: 41.39 MB / 2.19 GB, free: 15.5 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0144/3.135, allocations: 4.734 MB / 2.195 GB, free: 10.7 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007995/3.143, allocations: 2.43 MB / 2.197 GB, free: 8.266 MB / 1.026 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.04108/3.184, allocations: 10.47 MB / 2.208 GB, free: 13.42 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009008/3.193, allocations: 2.565 MB / 2.21 GB, free: 10.82 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006226/3.199, allocations: 467.2 kB / 2.211 GB, free: 10.36 MB / 1.042 GB Notification: Performance of pre-optimization done (n=412): time 1.631e-05/3.199, allocations: 4 kB / 2.211 GB, free: 10.36 MB / 1.042 GB Notification: Performance of matching and sorting (n=421): time 0.07041/3.27, allocations: 14.94 MB / 2.225 GB, free: 11.16 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000299/3.27, allocations: 0.5751 MB / 2.226 GB, free: 10.46 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02204/3.292, allocations: 8.176 MB / 2.234 GB, free: 2.305 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.001537/3.294, allocations: 137.7 kB / 2.234 GB, free: 2.164 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.008339/3.302, allocations: 5.063 MB / 2.239 GB, free: 13.17 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.002979/3.305, allocations: 1.457 MB / 2.24 GB, free: 11.73 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007563/3.306, allocations: 115.9 kB / 2.24 GB, free: 11.61 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0005699/3.307, allocations: 0.5222 MB / 2.241 GB, free: 11.08 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009285/3.316, allocations: 2.19 MB / 2.243 GB, free: 8.887 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0116/3.328, allocations: 4.009 MB / 2.247 GB, free: 4.113 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01084/3.338, allocations: 2.78 MB / 2.25 GB, free: 1.301 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.716e-05/3.339, allocations: 12 kB / 2.25 GB, free: 1.289 MB / 1.073 GB Notification: Performance of matching and sorting (n=738) (initialization): time 0.04103/3.38, allocations: 8.306 MB / 2.258 GB, free: 8.883 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.001144/3.381, allocations: 1.299 MB / 2.259 GB, free: 7.02 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001735/3.381, allocations: 44 kB / 2.259 GB, free: 6.977 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01776/3.399, allocations: 1.86 MB / 2.261 GB, free: 5.113 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01088/3.41, allocations: 1.238 MB / 2.262 GB, free: 3.875 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01866/3.428, allocations: 7.945 MB / 2.27 GB, free: 11.47 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01564/3.444, allocations: 0.7965 MB / 2.271 GB, free: 10.68 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001676/3.446, allocations: 279.9 kB / 2.271 GB, free: 10.4 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/3.446, allocations: 4 kB / 2.271 GB, free: 10.4 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02992/3.476, allocations: 6.817 MB / 2.278 GB, free: 3.488 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001538/3.476, allocations: 47.98 kB / 2.278 GB, free: 3.441 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01636/3.492, allocations: 1.731 MB / 2.279 GB, free: 1.703 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009807/3.502, allocations: 1.186 MB / 2.28 GB, free: 0.5156 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02716/3.529, allocations: 10.01 MB / 2.29 GB, free: 5.961 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01435/3.544, allocations: 0.7422 MB / 2.291 GB, free: 5.223 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001602/3.546, allocations: 259.9 kB / 2.291 GB, free: 4.969 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * Number of states: 0 () * Number of discrete variables: 22 ($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.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y,$PRE.conEquSta.hys.y,conEquSta.hys.y,radPumCon.u,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 (673): * Single equations (assignments): 657 * 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 {4 7,13 22,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.008737/3.554, allocations: 2.302 MB / 2.293 GB, free: 2.656 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003557/3.558, allocations: 0.9182 MB / 2.294 GB, free: 1.727 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.417/4.975, allocations: 6.208 MB / 2.3 GB, free: 485.5 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01804/4.993, allocations: 4.601 MB / 2.305 GB, free: 484.5 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.531e-05/4.993, allocations: 0 / 2.305 GB, free: 484.5 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00709/5, allocations: 1.679 MB / 2.307 GB, free: 484 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00343/5.003, allocations: 107 kB / 2.307 GB, free: 483.9 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01325/5.017, allocations: 0.6483 MB / 2.307 GB, free: 483.8 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001627/5.018, allocations: 350.3 kB / 2.308 GB, free: 483.8 MB / 1.12 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02725/5.046, allocations: 5.839 MB / 2.313 GB, free: 481.9 MB / 1.12 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02806/5.074, allocations: 7.925 MB / 2.321 GB, free: 479 MB / 1.12 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007133/5.081, allocations: 2.16 MB / 2.323 GB, free: 478.2 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.01691/5.098, allocations: 5.384 MB / 2.328 GB, free: 476.3 MB / 1.12 GB Notification: Performance of Backend: time 1.533e-06/5.098, allocations: 3.219 kB / 2.328 GB, free: 476.3 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.05087/5.149, allocations: 11.47 MB / 2.34 GB, free: 472.5 MB / 1.12 GB Notification: Performance of SimCode: time 0.06979/5.219, allocations: 25.5 MB / 2.365 GB, free: 460.2 MB / 1.12 GB Notification: Performance of Templates: time 0.4608/5.679, allocations: 198.4 MB / 2.558 GB, free: 270.2 MB / 1.12 GB