Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008693/0.000869, allocations: 89.89 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006906/0.006906, allocations: 172.3 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.56/1.56, allocations: 252 MB / 0.5105 GB, free: 4.648 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005759/0.0005761, allocations: 19.28 kB / 0.6249 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5446/0.5452, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.05077/0.596, allocations: 52 MB / 0.7795 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02945/0.6255, allocations: 17.92 MB / 0.797 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004316/0.6299, allocations: 75.5 kB / 0.7971 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003683/0.6336, allocations: 0.9888 MB / 0.798 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006917/0.6405, allocations: 2.134 MB / 0.8001 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00885/0.6494, allocations: 3.027 MB / 0.8031 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.009922/0.6593, allocations: 6.026 MB / 0.809 GB, free: 8.898 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003197/0.6625, allocations: 1.354 MB / 0.8103 GB, free: 7.516 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004693/0.6673, allocations: 1.606 MB / 0.8119 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002414/0.6697, allocations: 1.299 MB / 0.8131 GB, free: 4.598 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002665/0.67, allocations: 68 kB / 0.8132 GB, free: 4.531 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004184/0.6742, allocations: 1.805 MB / 0.8149 GB, free: 2.723 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006652/0.6749, allocations: 426.1 kB / 0.8154 GB, free: 2.305 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001514/0.6764, allocations: 0.9416 MB / 0.8163 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005216/0.6816, allocations: 3.267 MB / 0.8195 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.6817, allocations: 0 / 0.8195 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.893e-06/0.6817, allocations: 0 / 0.8195 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.648e-05/0.6817, allocations: 0 / 0.8195 GB, free: 14.07 MB / 0.6387 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.004286/0.686, allocations: 2.202 MB / 0.8216 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.6861, allocations: 12.03 kB / 0.8216 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002146/0.6882, allocations: 493.6 kB / 0.8221 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003141/0.6914, allocations: 1.644 MB / 0.8237 GB, free: 9.613 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000402/0.6918, allocations: 166.1 kB / 0.8239 GB, free: 9.449 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002085/0.692, allocations: 120 kB / 0.824 GB, free: 9.332 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002911/0.695, allocations: 1.387 MB / 0.8253 GB, free: 7.848 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.632e-05/0.695, allocations: 15.84 kB / 0.8253 GB, free: 7.832 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.6951, allocations: 44 kB / 0.8254 GB, free: 7.789 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.946e-05/0.6952, allocations: 28 kB / 0.8254 GB, free: 7.762 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002822/0.698, allocations: 1.132 MB / 0.8265 GB, free: 6.621 MB / 0.6387 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.01031/0.7083, allocations: 6.952 MB / 0.8333 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002731/0.7111, allocations: 1.434 MB / 0.8347 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001029/0.7122, allocations: 439.1 kB / 0.8351 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004872/0.717, allocations: 3.028 MB / 0.8381 GB, free: 9.789 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001095/0.7182, allocations: 462.8 kB / 0.8385 GB, free: 9.328 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005232/0.7187, allocations: 91.25 kB / 0.8386 GB, free: 9.238 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=60): time 3.136e-06/0.7187, allocations: 0 / 0.8386 GB, free: 9.238 MB / 0.6544 GB Notification: Performance of matching and sorting (n=60): time 0.003289/0.722, allocations: 1.28 MB / 0.8399 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.028e-05/0.7221, allocations: 115.4 kB / 0.84 GB, free: 7.793 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002171/0.7243, allocations: 1.546 MB / 0.8415 GB, free: 6.246 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.219e-05/0.7244, allocations: 41.7 kB / 0.8415 GB, free: 6.199 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008201/0.7252, allocations: 0.8917 MB / 0.8424 GB, free: 5.297 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000212/0.7254, allocations: 216.9 kB / 0.8426 GB, free: 5.082 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.7256, allocations: 89.66 kB / 0.8427 GB, free: 4.988 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.7257, allocations: 349.9 kB / 0.843 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000996/0.7267, allocations: 405.8 kB / 0.8434 GB, free: 4.242 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.728, allocations: 0.8086 MB / 0.8442 GB, free: 3.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002209/0.7302, allocations: 1.188 MB / 0.8454 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.7302, allocations: 4 kB / 0.8454 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002997/0.7332, allocations: 1.36 MB / 0.8467 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003242/0.7336, allocations: 458.6 kB / 0.8471 GB, free: 15.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.459e-05/0.7336, allocations: 12 kB / 0.8471 GB, free: 15.89 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.829e-05/0.7336, allocations: 16 kB / 0.8472 GB, free: 15.88 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.7347, allocations: 275.5 kB / 0.8474 GB, free: 15.61 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.917e-05/0.7348, allocations: 23.88 kB / 0.8474 GB, free: 15.59 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.736, allocations: 128.5 kB / 0.8476 GB, free: 15.46 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.7362, allocations: 55.97 kB / 0.8476 GB, free: 15.41 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.436e-06/0.7362, allocations: 4 kB / 0.8476 GB, free: 15.4 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002515/0.7387, allocations: 1.165 MB / 0.8488 GB, free: 14.23 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/0.7387, allocations: 12.62 kB / 0.8488 GB, free: 14.22 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.7388, allocations: 16 kB / 0.8488 GB, free: 14.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009912/0.7398, allocations: 275.5 kB / 0.849 GB, free: 13.93 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.94e-05/0.7398, allocations: 19.94 kB / 0.8491 GB, free: 13.91 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.7411, allocations: 136.4 kB / 0.8492 GB, free: 13.78 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.7412, allocations: 51.98 kB / 0.8492 GB, free: 13.73 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008913/0.7421, allocations: 484.6 kB / 0.8497 GB, free: 13.25 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002572/0.7423, allocations: 165.9 kB / 0.8499 GB, free: 13.08 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002796/0.7451, allocations: 1.159 MB / 0.851 GB, free: 11.91 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.7452, allocations: 8 kB / 0.851 GB, free: 11.91 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.7452, allocations: 3.938 kB / 0.851 GB, free: 11.9 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002071/0.7473, allocations: 1.006 MB / 0.852 GB, free: 10.84 MB / 0.67 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.004847/0.7521, allocations: 2.413 MB / 0.8543 GB, free: 8.363 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/0.7522, allocations: 0 / 0.8543 GB, free: 8.363 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008072/0.753, allocations: 155.8 kB / 0.8545 GB, free: 8.211 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002071/0.7532, allocations: 40.81 kB / 0.8545 GB, free: 8.168 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.143e-05/0.7533, allocations: 23.98 kB / 0.8546 GB, free: 8.145 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001221/0.7545, allocations: 1.363 MB / 0.8559 GB, free: 6.645 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.7545, allocations: 4.062 kB / 0.8559 GB, free: 6.641 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003564/0.7581, allocations: 1.616 MB / 0.8575 GB, free: 4.992 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007194/0.7588, allocations: 342.7 kB / 0.8578 GB, free: 4.637 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002223/0.7591, allocations: 16 kB / 0.8578 GB, free: 4.621 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009983/0.7601, allocations: 111.8 kB / 0.8579 GB, free: 4.512 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/0.7602, allocations: 56.48 kB / 0.858 GB, free: 4.457 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.663e-05/0.7603, allocations: 23.98 kB / 0.858 GB, free: 4.434 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002176/0.7625, allocations: 1.102 MB / 0.8591 GB, free: 3.309 MB / 0.67 GB Notification: Performance of sort global known variables: time 5.31e-07/0.7625, allocations: 4 kB / 0.8591 GB, free: 3.305 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00447/0.767, allocations: 0.9044 MB / 0.86 GB, free: 2.398 MB / 0.67 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002171/0.7692, allocations: 0.7444 MB / 0.8607 GB, free: 1.785 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004064/0.7733, allocations: 1.738 MB / 0.8624 GB, free: 24 kB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.7733, allocations: 0 / 0.8624 GB, free: 24 kB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001381/0.7747, allocations: 0.5648 MB / 0.8629 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004484/0.7792, allocations: 0.7457 MB / 0.8637 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007703/0.7869, allocations: 3.849 MB / 0.8674 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.788, allocations: 1.372 MB / 0.8688 GB, free: 9.422 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002072/0.79, allocations: 422.1 kB / 0.8692 GB, free: 9.004 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003646/0.7904, allocations: 143.3 kB / 0.8693 GB, free: 8.863 MB / 0.6856 GB Notification: Performance of SimCode: time 9.31e-07/0.7904, allocations: 0 / 0.8693 GB, free: 8.863 MB / 0.6856 GB Notification: Performance of Templates: time 0.05607/0.8465, allocations: 31.04 MB / 0.8996 GB, free: 10.23 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1) Environment - environmentSimulation: