Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.CoolingTowers.Examples.FixedApproachDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009105/0.0009106, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.0008787/0.0008788, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.273/1.273, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.574/1.574, allocations: 292.6 MB / 0.5497 GB, free: 14.59 MB / 462.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.0005005/0.0005005, allocations: 18.56 kB / 0.6736 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2136, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb): time 0.07298/0.2866, allocations: 72.43 MB / 0.8579 GB, free: 3.332 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.5404/0.8271, allocations: 141.9 MB / 0.9964 GB, free: 9.777 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002562/0.8297, allocations: 73.56 kB / 0.9965 GB, free: 9.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003138/0.8328, allocations: 1.003 MB / 0.9974 GB, free: 9.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007421/0.8403, allocations: 2.807 MB / 1 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.009497/0.8498, allocations: 3.376 MB / 1.003 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006773/0.8566, allocations: 3.698 MB / 1.007 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003243/0.8598, allocations: 1.981 MB / 1.009 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003048/0.8629, allocations: 1.576 MB / 1.011 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001621/0.8645, allocations: 1.171 MB / 1.012 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003121/0.8649, allocations: 87.69 kB / 1.012 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003558/0.8684, allocations: 1.362 MB / 1.013 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005252/0.869, allocations: 0.5343 MB / 1.014 GB, free: 412 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000665/0.8697, allocations: 0.5471 MB / 1.014 GB, free: 84 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004391/0.8741, allocations: 3.484 MB / 1.018 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.8741, allocations: 0 / 1.018 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.973e-06/0.8741, allocations: 3.938 kB / 1.018 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.235e-05/0.8742, allocations: 0 / 1.018 GB, free: 13.67 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 482 * Number of variables: 482 Notification: Performance of Generate backend data structure: time 0.005461/0.8796, allocations: 2.882 MB / 1.02 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.8797, allocations: 14.8 kB / 1.02 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002077/0.8818, allocations: 495.1 kB / 1.021 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003657/0.8854, allocations: 2.051 MB / 1.023 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.8856, allocations: 150.4 kB / 1.023 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002509/0.8858, allocations: 207.4 kB / 1.023 GB, free: 9.621 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003552/0.8894, allocations: 2.09 MB / 1.025 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.942e-05/0.8895, allocations: 7.734 kB / 1.025 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001738/0.8896, allocations: 89.42 kB / 1.025 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-05/0.8897, allocations: 48.81 kB / 1.025 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003434/0.8931, allocations: 1.993 MB / 1.027 GB, free: 7.23 MB / 0.7325 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.01197/0.9051, allocations: 8.402 MB / 1.036 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002405/0.9076, allocations: 1.32 MB / 1.037 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005097/0.9127, allocations: 3.197 MB / 1.04 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00131/0.914, allocations: 0.755 MB / 1.041 GB, free: 9.477 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006526/0.9147, allocations: 146.5 kB / 1.041 GB, free: 9.332 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=127): time 2.945e-06/0.9147, allocations: 0 / 1.041 GB, free: 9.332 MB / 0.7481 GB Notification: Performance of matching and sorting (n=127): time 0.004482/0.9192, allocations: 1.928 MB / 1.043 GB, free: 7.379 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/0.9193, allocations: 270.3 kB / 1.043 GB, free: 7.055 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002699/0.922, allocations: 1.959 MB / 1.045 GB, free: 5.066 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001851/0.9222, allocations: 57.7 kB / 1.045 GB, free: 5.004 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001037/0.9233, allocations: 1.117 MB / 1.046 GB, free: 3.871 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004027/0.9237, allocations: 437.8 kB / 1.046 GB, free: 3.438 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.391e-05/0.9238, allocations: 28 kB / 1.046 GB, free: 3.41 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.9239, allocations: 357.9 kB / 1.047 GB, free: 3.055 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.925, allocations: 0.5114 MB / 1.047 GB, free: 2.543 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001301/0.9263, allocations: 0.9509 MB / 1.048 GB, free: 1.41 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.9275, allocations: 0.6387 MB / 1.049 GB, free: 0.7734 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.9275, allocations: 4 kB / 1.049 GB, free: 0.7695 MB / 0.7481 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003559/0.9311, allocations: 1.765 MB / 1.051 GB, free: 14.99 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.001558/0.9327, allocations: 4.065 MB / 1.055 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.872e-05/0.9327, allocations: 12 kB / 1.055 GB, free: 10.49 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005709/0.9333, allocations: 92.77 kB / 1.055 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/0.9347, allocations: 367.5 kB / 1.055 GB, free: 10.04 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002038/0.9367, allocations: 1.55 MB / 1.057 GB, free: 8.352 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002279/0.939, allocations: 160.4 kB / 1.057 GB, free: 8.195 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002438/0.9393, allocations: 71.97 kB / 1.057 GB, free: 8.125 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.9393, allocations: 4 kB / 1.057 GB, free: 8.121 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002957/0.9422, allocations: 1.488 MB / 1.058 GB, free: 6.629 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.227e-05/0.9423, allocations: 20.12 kB / 1.058 GB, free: 6.609 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005032/0.9428, allocations: 89.11 kB / 1.058 GB, free: 6.52 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.944, allocations: 355.5 kB / 1.059 GB, free: 6.172 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001792/0.9458, allocations: 1.555 MB / 1.06 GB, free: 4.48 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001759/0.9476, allocations: 144.5 kB / 1.06 GB, free: 4.34 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/0.9478, allocations: 71.97 kB / 1.06 GB, free: 4.27 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.onOffCon.y,onOffCon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 183 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * 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: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00124/0.949, allocations: 0.6138 MB / 1.061 GB, free: 3.645 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004301/0.9494, allocations: 225.2 kB / 1.061 GB, free: 3.422 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003941/0.9534, allocations: 1.806 MB / 1.063 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/0.9534, allocations: 19.95 kB / 1.063 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.9534, allocations: 0 / 1.063 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002653/0.9561, allocations: 1.506 MB / 1.064 GB, free: 20 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006744/0.9629, allocations: 3.75 MB / 1.068 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.9629, allocations: 0 / 1.068 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/0.964, allocations: 279.8 kB / 1.068 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005029/0.9645, allocations: 92.72 kB / 1.068 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.461e-05/0.9646, allocations: 47.91 kB / 1.069 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001761/0.9664, allocations: 1.551 MB / 1.07 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.9664, allocations: 0 / 1.07 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004865/0.9713, allocations: 2.454 MB / 1.072 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001617/0.973, allocations: 0.5174 MB / 1.073 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003174/0.9733, allocations: 28 kB / 1.073 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/0.9747, allocations: 166.1 kB / 1.073 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002299/0.9749, allocations: 105.2 kB / 1.073 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/0.975, allocations: 67.89 kB / 1.073 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002034/0.9771, allocations: 1.325 MB / 1.075 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9771, allocations: 0 / 1.075 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.004258/0.9813, allocations: 1.34 MB / 1.076 GB, free: 3.977 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (tow.vol.dynBal.U,pum.vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],vol.dynBal.U) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,onOffCon.y) * Number of discrete states: 3 (onOffCon.y,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002688/0.984, allocations: 1.016 MB / 1.077 GB, free: 3.145 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.005351/0.9894, allocations: 2.432 MB / 1.079 GB, free: 0.6758 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/0.9894, allocations: 0 / 1.079 GB, free: 0.6758 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001549/0.991, allocations: 0.8196 MB / 1.08 GB, free: 15.85 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004842/0.9959, allocations: 1.055 MB / 1.081 GB, free: 14.81 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009078/1.005, allocations: 5.305 MB / 1.086 GB, free: 9.488 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001314/1.006, allocations: 1.707 MB / 1.088 GB, free: 7.746 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.00303/1.009, allocations: 0.7224 MB / 1.089 GB, free: 7.035 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005728/1.01, allocations: 227.3 kB / 1.089 GB, free: 6.812 MB / 0.795 GB Notification: Performance of SimCode: time 9.51e-07/1.01, allocations: 4 kB / 1.089 GB, free: 6.809 MB / 0.795 GB Notification: Performance of Templates: time 0.07622/1.086, allocations: 46.21 MB / 1.134 GB, free: 9.172 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe 2>&1) Environment - environmentSimulation: