Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.664/1.664, allocations: 288.4 MB / 303.7 MB, free: 8.871 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 180.5 kB / 372.3 MB, free: 6.441 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.613/1.613, allocations: 205.4 MB / 0.631 GB, free: 13.55 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007652/0.0007652, allocations: 85.08 kB / 0.7444 GB, free: 64.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003747/0.0003748, allocations: 16 kB / 0.8675 GB, free: 0.5977 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2636, allocations: 115.3 MB / 0.9801 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.5185/0.7822, allocations: 49.17 MB / 1.028 GB, free: 64.63 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.02536/0.8076, allocations: 16.62 MB / 1.044 GB, free: 64.35 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003314/0.8109, allocations: 78.91 kB / 1.044 GB, free: 64.35 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003567/0.8145, allocations: 0.8633 MB / 1.045 GB, free: 64.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.007996/0.8225, allocations: 1.981 MB / 1.047 GB, free: 63.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.009948/0.8325, allocations: 2.757 MB / 1.05 GB, free: 63.6 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.008185/0.8407, allocations: 5.225 MB / 1.055 GB, free: 62.79 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002749/0.8435, allocations: 1.342 MB / 1.056 GB, free: 62.58 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00369/0.8472, allocations: 1.604 MB / 1.058 GB, free: 62.2 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002312/0.8495, allocations: 1.252 MB / 1.059 GB, free: 61.91 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0003338/0.8499, allocations: 73.31 kB / 1.059 GB, free: 61.9 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00426/0.8542, allocations: 1.761 MB / 1.061 GB, free: 61.77 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0005944/0.8548, allocations: 414.1 kB / 1.061 GB, free: 61.69 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001312/0.8561, allocations: 0.9076 MB / 1.062 GB, free: 61.37 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.003946/0.8601, allocations: 2.542 MB / 1.065 GB, free: 61.15 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.8601, allocations: 0 / 1.065 GB, free: 61.15 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.937e-06/0.8601, allocations: 0 / 1.065 GB, free: 61.15 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.336e-05/0.8602, allocations: 6.516 kB / 1.065 GB, free: 61.15 MB / 0.7448 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.00386/0.864, allocations: 2.218 MB / 1.067 GB, free: 59.89 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.8641, allocations: 8.906 kB / 1.067 GB, free: 59.89 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001927/0.866, allocations: 495.5 kB / 1.067 GB, free: 59.76 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003101/0.8691, allocations: 1.637 MB / 1.069 GB, free: 59.25 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003409/0.8695, allocations: 161.7 kB / 1.069 GB, free: 59.24 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001941/0.8697, allocations: 126.2 kB / 1.069 GB, free: 59.23 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002376/0.8721, allocations: 1.394 MB / 1.071 GB, free: 58.95 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.85e-05/0.8721, allocations: 7.25 kB / 1.071 GB, free: 58.94 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.674e-05/0.8722, allocations: 50.8 kB / 1.071 GB, free: 58.94 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.783e-05/0.8723, allocations: 28.53 kB / 1.071 GB, free: 58.94 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002315/0.8746, allocations: 1.129 MB / 1.072 GB, free: 58.6 MB / 0.7448 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.007694/0.8823, allocations: 7.011 MB / 1.079 GB, free: 53.36 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002173/0.8845, allocations: 1.433 MB / 1.08 GB, free: 52.45 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008737/0.8854, allocations: 434.2 kB / 1.08 GB, free: 52.3 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004168/0.8896, allocations: 3.091 MB / 1.083 GB, free: 49.84 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009574/0.8905, allocations: 468.1 kB / 1.084 GB, free: 49.67 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000486/0.891, allocations: 79.58 kB / 1.084 GB, free: 49.63 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=60): time 3.377e-06/0.891, allocations: 6.969 kB / 1.084 GB, free: 49.62 MB / 0.7448 GB Notification: Performance of matching and sorting (n=60): time 0.002839/0.8939, allocations: 1.292 MB / 1.085 GB, free: 49.1 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.894, allocations: 139.4 kB / 1.085 GB, free: 48.94 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001813/0.8958, allocations: 1.569 MB / 1.087 GB, free: 48.36 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.251e-05/0.8959, allocations: 42.67 kB / 1.087 GB, free: 48.31 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005617/0.8964, allocations: 0.8925 MB / 1.088 GB, free: 47.61 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/0.8966, allocations: 219.3 kB / 1.088 GB, free: 47.45 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.272e-05/0.8966, allocations: 14.91 kB / 1.088 GB, free: 47.44 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.632e-05/0.8967, allocations: 345.1 kB / 1.088 GB, free: 47.11 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008593/0.8976, allocations: 401.3 kB / 1.089 GB, free: 47 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.8986, allocations: 0.7996 MB / 1.09 GB, free: 46.36 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00179/0.9004, allocations: 1.152 MB / 1.091 GB, free: 45.6 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.9004, allocations: 3.094 kB / 1.091 GB, free: 45.6 MB / 0.7448 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002768/0.9032, allocations: 1.336 MB / 1.092 GB, free: 45.08 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002283/0.9035, allocations: 442.9 kB / 1.092 GB, free: 44.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.542e-05/0.9035, allocations: 14.28 kB / 1.092 GB, free: 44.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.119e-05/0.9035, allocations: 24.44 kB / 1.092 GB, free: 44.51 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009482/0.9045, allocations: 260.1 kB / 1.093 GB, free: 44.49 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.084e-05/0.9045, allocations: 23.36 kB / 1.093 GB, free: 44.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/0.906, allocations: 141.1 kB / 1.093 GB, free: 44.45 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.823e-05/0.9061, allocations: 53.64 kB / 1.093 GB, free: 44.44 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.682e-06/0.9061, allocations: 3.406 kB / 1.093 GB, free: 44.44 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002102/0.9082, allocations: 1.165 MB / 1.094 GB, free: 44.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.9083, allocations: 13.56 kB / 1.094 GB, free: 44.01 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.9083, allocations: 16.88 kB / 1.094 GB, free: 44.01 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008762/0.9092, allocations: 264.5 kB / 1.094 GB, free: 43.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.557e-05/0.9092, allocations: 24.36 kB / 1.094 GB, free: 43.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.9104, allocations: 122.7 kB / 1.094 GB, free: 43.95 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.4e-05/0.9105, allocations: 55.27 kB / 1.094 GB, free: 43.95 MB / 0.7448 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 (122): * Single equations (assignments): 118 * 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.0007344/0.9113, allocations: 492.2 kB / 1.095 GB, free: 43.59 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002038/0.9115, allocations: 165.8 kB / 1.095 GB, free: 43.51 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002293/0.9138, allocations: 1.168 MB / 1.096 GB, free: 43.08 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.9138, allocations: 13.41 kB / 1.096 GB, free: 43.07 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.9138, allocations: 3.938 kB / 1.096 GB, free: 43.07 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001682/0.9155, allocations: 1.004 MB / 1.097 GB, free: 42.56 MB / 0.7448 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.003921/0.9195, allocations: 2.447 MB / 1.1 GB, free: 41.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.9195, allocations: 4.062 kB / 1.1 GB, free: 41.47 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006903/0.9202, allocations: 155.3 kB / 1.1 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000172/0.9204, allocations: 36.3 kB / 1.1 GB, free: 41.44 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.135e-05/0.9204, allocations: 18.48 kB / 1.1 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008506/0.9213, allocations: 1.367 MB / 1.101 GB, free: 40.08 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.9213, allocations: 3.672 kB / 1.101 GB, free: 40.08 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00296/0.9243, allocations: 1.626 MB / 1.103 GB, free: 39.37 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007853/0.9251, allocations: 355.8 kB / 1.103 GB, free: 39.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002413/0.9253, allocations: 14.28 kB / 1.103 GB, free: 39.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009458/0.9263, allocations: 120.9 kB / 1.103 GB, free: 39.08 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.9264, allocations: 51.86 kB / 1.103 GB, free: 39.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-05/0.9265, allocations: 35.11 kB / 1.103 GB, free: 39.06 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001371/0.9279, allocations: 1.108 MB / 1.104 GB, free: 38.62 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9279, allocations: 0 / 1.104 GB, free: 38.62 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002667/0.9306, allocations: 0.9231 MB / 1.105 GB, free: 38.43 MB / 0.7448 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.001546/0.9321, allocations: 0.7637 MB / 1.106 GB, free: 38.12 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0032/0.9353, allocations: 1.733 MB / 1.108 GB, free: 37.46 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.9353, allocations: 0 / 1.108 GB, free: 37.46 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001086/0.9364, allocations: 0.5694 MB / 1.108 GB, free: 37.21 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003493/0.9399, allocations: 0.7294 MB / 1.109 GB, free: 37.02 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005234/0.9452, allocations: 3.79 MB / 1.113 GB, free: 34.92 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007037/0.9459, allocations: 1.373 MB / 1.114 GB, free: 34.14 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001934/0.9479, allocations: 412.5 kB / 1.114 GB, free: 34.04 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003396/0.9482, allocations: 138.8 kB / 1.115 GB, free: 34.03 MB / 0.7448 GB Notification: Performance of SimCode: time 6.51e-07/0.9482, allocations: 3.938 kB / 1.115 GB, free: 34.03 MB / 0.7448 GB Notification: Performance of Templates: time 0.05942/1.008, allocations: 31.74 MB / 1.146 GB, free: 31.02 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)