Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.315/2.315, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001444/0.001443, allocations: 177.2 kB / 325.8 MB, free: 2.773 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.37/2.37, allocations: 205.4 MB / 0.5767 GB, free: 21.12 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008684/0.0008683, allocations: 93.17 kB / 0.6813 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005021/0.0005023, allocations: 11.12 kB / 0.7953 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2012, allocations: 106.3 MB / 0.899 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.1299/0.3312, allocations: 49.18 MB / 0.947 GB, free: 16.56 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.04441/0.3757, allocations: 16.6 MB / 0.9633 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004191/0.38, allocations: 79.5 kB / 0.9633 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.005608/0.3856, allocations: 0.7843 MB / 0.9641 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.01118/0.3968, allocations: 1.883 MB / 0.9659 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.01693/0.4138, allocations: 2.711 MB / 0.9686 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.01435/0.4282, allocations: 5.211 MB / 0.9737 GB, free: 5.254 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004947/0.4332, allocations: 1.316 MB / 0.975 GB, free: 3.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006569/0.4398, allocations: 1.54 MB / 0.9765 GB, free: 2.363 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004835/0.4447, allocations: 1.26 MB / 0.9777 GB, free: 1.098 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0009339/0.4457, allocations: 68 kB / 0.9778 GB, free: 1.031 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007678/0.4535, allocations: 1.501 MB / 0.9792 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001487/0.455, allocations: 414.3 kB / 0.9796 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001659/0.4567, allocations: 404.6 kB / 0.98 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.007833/0.4646, allocations: 2.486 MB / 0.9824 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/0.4647, allocations: 0 / 0.9824 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.985e-06/0.4647, allocations: 0 / 0.9824 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001139/0.4648, allocations: 4 kB / 0.9824 GB, free: 12.22 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.009644/0.4745, allocations: 2.233 MB / 0.9846 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/0.4746, allocations: 8.031 kB / 0.9846 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00565/0.4803, allocations: 0.4898 MB / 0.9851 GB, free: 9.422 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007969/0.4883, allocations: 1.567 MB / 0.9866 GB, free: 7.805 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001041/0.4894, allocations: 162.2 kB / 0.9868 GB, free: 7.645 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006426/0.4901, allocations: 131.8 kB / 0.9869 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007018/0.4971, allocations: 1.386 MB / 0.9883 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.603e-05/0.4973, allocations: 3.938 kB / 0.9883 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002899/0.4976, allocations: 48 kB / 0.9883 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.012e-05/0.4977, allocations: 28 kB / 0.9883 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007863/0.5056, allocations: 1.136 MB / 0.9895 GB, free: 4.809 MB / 0.6355 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.02331/0.529, allocations: 7.006 MB / 0.9963 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00701/0.5361, allocations: 1.434 MB / 0.9977 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002756/0.5389, allocations: 442.2 kB / 0.9981 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01171/0.5507, allocations: 3.075 MB / 1.001 GB, free: 7.863 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002854/0.5536, allocations: 470.8 kB / 1.002 GB, free: 7.391 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001185/0.5548, allocations: 83.34 kB / 1.002 GB, free: 7.309 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=60): time 7.905e-06/0.5549, allocations: 0 / 1.002 GB, free: 7.309 MB / 0.6511 GB Notification: Performance of matching and sorting (n=60): time 0.008956/0.5638, allocations: 1.295 MB / 1.003 GB, free: 5.984 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/0.564, allocations: 133.1 kB / 1.003 GB, free: 5.824 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005191/0.5692, allocations: 1.578 MB / 1.005 GB, free: 4.246 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002912/0.5696, allocations: 41.7 kB / 1.005 GB, free: 4.199 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001681/0.5713, allocations: 0.8841 MB / 1.005 GB, free: 3.305 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005375/0.5719, allocations: 216.9 kB / 1.006 GB, free: 3.09 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.5721, allocations: 16 kB / 1.006 GB, free: 3.074 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002666/0.5723, allocations: 349.9 kB / 1.006 GB, free: 2.727 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002804/0.5752, allocations: 397.8 kB / 1.006 GB, free: 2.34 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003378/0.5786, allocations: 0.7969 MB / 1.007 GB, free: 1.355 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003084/0.5818, allocations: 0.4966 MB / 1.008 GB, free: 0.8555 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.418e-05/0.5819, allocations: 7.938 kB / 1.008 GB, free: 0.8477 MB / 0.6511 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.007756/0.5896, allocations: 1.333 MB / 1.009 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005735/0.5903, allocations: 433.2 kB / 1.009 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.242e-05/0.5903, allocations: 15.98 kB / 1.009 GB, free: 14.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.753e-05/0.5904, allocations: 16 kB / 1.009 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003029/0.5935, allocations: 267.5 kB / 1.01 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.023e-05/0.5936, allocations: 23.92 kB / 1.01 GB, free: 14.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003532/0.5971, allocations: 140.4 kB / 1.01 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003797/0.5976, allocations: 51.98 kB / 1.01 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.5976, allocations: 4 kB / 1.01 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007023/0.6047, allocations: 1.157 MB / 1.011 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.777e-05/0.6048, allocations: 12.59 kB / 1.011 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.11e-05/0.6049, allocations: 23.98 kB / 1.011 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002946/0.6078, allocations: 259.6 kB / 1.011 GB, free: 12.96 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.326e-05/0.608, allocations: 19.94 kB / 1.011 GB, free: 12.94 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003401/0.6114, allocations: 128.5 kB / 1.011 GB, free: 12.81 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003715/0.6118, allocations: 51.98 kB / 1.012 GB, free: 12.76 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 117 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001893/0.6137, allocations: 493.7 kB / 1.012 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000705/0.6145, allocations: 161.9 kB / 1.012 GB, free: 12.11 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007234/0.6217, allocations: 1.171 MB / 1.013 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.685e-05/0.6218, allocations: 4 kB / 1.013 GB, free: 10.92 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.801e-05/0.6219, allocations: 7.938 kB / 1.013 GB, free: 10.91 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005534/0.6274, allocations: 1.002 MB / 1.014 GB, free: 9.859 MB / 0.6667 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.01158/0.6391, allocations: 2.441 MB / 1.017 GB, free: 7.352 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-05/0.6391, allocations: 0 / 1.017 GB, free: 7.352 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00218/0.6413, allocations: 155.8 kB / 1.017 GB, free: 7.199 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004063/0.6418, allocations: 36.83 kB / 1.017 GB, free: 7.16 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002018/0.642, allocations: 27.92 kB / 1.017 GB, free: 7.133 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002594/0.6447, allocations: 1.374 MB / 1.018 GB, free: 5.629 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.6447, allocations: 0 / 1.018 GB, free: 5.629 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009204/0.6539, allocations: 1.624 MB / 1.02 GB, free: 3.977 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001642/0.6557, allocations: 350.7 kB / 1.02 GB, free: 3.613 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007722/0.6565, allocations: 16 kB / 1.02 GB, free: 3.598 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003415/0.6599, allocations: 119.7 kB / 1.02 GB, free: 3.48 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003447/0.6603, allocations: 56.47 kB / 1.02 GB, free: 3.426 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001861/0.6605, allocations: 28.11 kB / 1.02 GB, free: 3.398 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.003975/0.6645, allocations: 1.11 MB / 1.021 GB, free: 2.266 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.203e-06/0.6646, allocations: 0 / 1.021 GB, free: 2.266 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00691/0.6715, allocations: 0.9084 MB / 1.022 GB, free: 1.355 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003837/0.6754, allocations: 0.7373 MB / 1.023 GB, free: 0.75 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.009546/0.685, allocations: 1.718 MB / 1.025 GB, free: 15 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/0.6851, allocations: 0 / 1.025 GB, free: 15 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003371/0.6885, allocations: 0.5683 MB / 1.025 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00994/0.6985, allocations: 0.7498 MB / 1.026 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01491/0.7135, allocations: 3.784 MB / 1.03 GB, free: 9.852 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001467/0.715, allocations: 1.372 MB / 1.031 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003016/0.7181, allocations: 418.2 kB / 1.031 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007289/0.7188, allocations: 143.4 kB / 1.032 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of SimCode: time 1.312e-06/0.7189, allocations: 0 / 1.032 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of Templates: time 0.8097/1.529, allocations: 30.95 MB / 1.062 GB, free: 135.9 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)