Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002569/0.002573, allocations: 359.3 kB / 16.59 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.411/1.411, allocations: 165.8 MB / 183.1 MB, free: 5.438 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.659/3.659, allocations: 410.8 MB / 0.6001 GB, free: 15.09 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001786/0.001786, allocations: 206 kB / 0.6668 GB, free: 6.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006161/0.0006165, allocations: 12 kB / 0.7429 GB, free: 8.961 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/0.3966, allocations: 67.45 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.8125/1.209, allocations: 277.5 MB / 1.08 GB, free: 9.215 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.1117/1.321, allocations: 46.07 MB / 1.125 GB, free: 11.05 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01274/1.334, allocations: 250.3 kB / 1.125 GB, free: 10.8 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.01784/1.352, allocations: 2.732 MB / 1.128 GB, free: 8.051 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.05266/1.404, allocations: 9.413 MB / 1.137 GB, free: 14.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0354/1.44, allocations: 5.941 MB / 1.143 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.605/2.045, allocations: 21 MB / 1.163 GB, free: 42.97 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01089/2.056, allocations: 4.284 MB / 1.167 GB, free: 42.52 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01719/2.073, allocations: 5.724 MB / 1.173 GB, free: 42.5 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01129/2.084, allocations: 4.605 MB / 1.177 GB, free: 42.48 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.002399/2.087, allocations: 234.4 kB / 1.178 GB, free: 42.48 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01356/2.1, allocations: 2.464 MB / 1.18 GB, free: 42.48 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.00323/2.104, allocations: 1.06 MB / 1.181 GB, free: 42.48 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.004239/2.108, allocations: 1.372 MB / 1.182 GB, free: 42.45 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.01474/2.123, allocations: 7.399 MB / 1.19 GB, free: 41.84 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/2.123, allocations: 4 kB / 1.19 GB, free: 41.84 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.425e-06/2.123, allocations: 0 / 1.19 GB, free: 41.84 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0003289/2.123, allocations: 3.906 kB / 1.19 GB, free: 41.84 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01641/2.139, allocations: 6.231 MB / 1.196 GB, free: 38.67 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/2.14, allocations: 10.64 kB / 1.196 GB, free: 38.67 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003634/2.143, allocations: 0.7837 MB / 1.196 GB, free: 38.3 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01415/2.157, allocations: 4.959 MB / 1.201 GB, free: 37.43 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002966/2.158, allocations: 322 kB / 1.202 GB, free: 37.41 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001069/2.159, allocations: 437.4 kB / 1.202 GB, free: 37.41 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01184/2.171, allocations: 4.355 MB / 1.206 GB, free: 36.61 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001711/2.171, allocations: 13.03 kB / 1.206 GB, free: 36.61 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006062/2.171, allocations: 173.3 kB / 1.206 GB, free: 36.61 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000153/2.172, allocations: 120.6 kB / 1.207 GB, free: 36.6 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009639/2.181, allocations: 2.943 MB / 1.209 GB, free: 36.57 MB / 0.5886 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.03721/2.219, allocations: 25.03 MB / 1.234 GB, free: 19.79 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004196/2.223, allocations: 2.762 MB / 1.237 GB, free: 18.44 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002211/2.225, allocations: 0.9951 MB / 1.238 GB, free: 18.31 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003056/2.228, allocations: 3.916 MB / 1.241 GB, free: 13.81 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.483e-05/2.228, allocations: 64.44 kB / 1.241 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=217): time 6.032e-06/2.228, allocations: 0 / 1.241 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of matching and sorting (n=217): time 0.01592/2.244, allocations: 4.051 MB / 1.245 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/2.244, allocations: 77.47 kB / 1.245 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008303/2.253, allocations: 4.164 MB / 1.25 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0006177/2.253, allocations: 80.77 kB / 1.25 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.002479/2.256, allocations: 2.77 MB / 1.252 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001061/2.257, allocations: 0.7627 MB / 1.253 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/2.257, allocations: 57.94 kB / 1.253 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001604/2.257, allocations: 416 kB / 1.254 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002021/2.259, allocations: 0.7808 MB / 1.254 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002669/2.262, allocations: 1.805 MB / 1.256 GB, free: 5.922 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002847/2.265, allocations: 1.078 MB / 1.257 GB, free: 5.293 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-05/2.265, allocations: 4 kB / 1.257 GB, free: 5.289 MB / 0.5886 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.01156/2.276, allocations: 3.497 MB / 1.261 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004077/2.277, allocations: 0.7403 MB / 1.261 GB, free: 1.758 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.227e-05/2.277, allocations: 25.75 kB / 1.261 GB, free: 1.734 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004264/2.281, allocations: 0.5628 MB / 1.262 GB, free: 1.234 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003597/2.285, allocations: 0.5574 MB / 1.262 GB, free: 0.7344 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003066/2.288, allocations: 2.693 MB / 1.265 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008124/2.296, allocations: 0.6166 MB / 1.266 GB, free: 13.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00065/2.297, allocations: 138.4 kB / 1.266 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/2.297, allocations: 6.734 kB / 1.266 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008131/2.305, allocations: 2.799 MB / 1.268 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.241e-05/2.305, allocations: 24 kB / 1.269 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001689/2.307, allocations: 362.5 kB / 1.269 GB, free: 11.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003807/2.311, allocations: 0.556 MB / 1.269 GB, free: 10.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01294/2.324, allocations: 7.709 MB / 1.277 GB, free: 3.648 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007861/2.331, allocations: 0.5691 MB / 1.277 GB, free: 3.133 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006833/2.332, allocations: 136.2 kB / 1.278 GB, free: 3.023 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.003558/2.336, allocations: 1.007 MB / 1.279 GB, free: 2.461 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001794/2.338, allocations: 0.5017 MB / 1.279 GB, free: 1.953 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0112/2.349, allocations: 3.579 MB / 1.283 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007165/2.356, allocations: 2.416 MB / 1.285 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.061e-05/2.356, allocations: 0 / 1.285 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003868/2.36, allocations: 0.9817 MB / 1.286 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001556/2.362, allocations: 44.62 kB / 1.286 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006797/2.368, allocations: 378 kB / 1.286 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006962/2.369, allocations: 192.4 kB / 1.286 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01017/2.379, allocations: 2.861 MB / 1.289 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0108/2.39, allocations: 4.081 MB / 1.293 GB, free: 7.48 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002374/2.393, allocations: 1.039 MB / 1.294 GB, free: 6.832 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.008553/2.401, allocations: 2.734 MB / 1.297 GB, free: 4.902 MB / 0.6198 GB Notification: Performance of Backend: time 1.553e-06/2.401, allocations: 0 / 1.297 GB, free: 4.902 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.02251/2.424, allocations: 5.103 MB / 1.302 GB, free: 0.9766 MB / 0.6198 GB Notification: Performance of SimCode: time 0.05136/2.475, allocations: 13.28 MB / 1.315 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of Templates: time 0.671/3.146, allocations: 104.1 MB / 1.417 GB, free: 332 MB / 0.7136 GB