Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.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.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 188 kB / 16.62 MB, free: 6.582 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.382/1.382, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.72/1.72, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001492/0.001492, allocations: 71.91 kB / 0.6723 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2329, allocations: 114.6 MB / 0.7841 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004551/0.2375, allocations: 2.934 MB / 0.787 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002461/0.24, allocations: 1.431 MB / 0.7884 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002625/0.2403, allocations: 11.94 kB / 0.7884 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004193/0.2407, allocations: 111.1 kB / 0.7885 GB, free: 8.266 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003768/0.2411, allocations: 143 kB / 0.7887 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009176/0.242, allocations: 385.9 kB / 0.789 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005496/0.2426, allocations: 0.5305 MB / 0.7895 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000314/0.2429, allocations: 205.1 kB / 0.7897 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002588/0.2432, allocations: 203.1 kB / 0.7899 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002323/0.2434, allocations: 199 kB / 0.7901 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.642e-05/0.2435, allocations: 40 kB / 0.7902 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.2437, allocations: 99.94 kB / 0.7902 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.2438, allocations: 107.6 kB / 0.7904 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001944/0.244, allocations: 210.8 kB / 0.7906 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006296/0.2447, allocations: 0.6033 MB / 0.7911 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2447, allocations: 0 / 0.7911 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2447, allocations: 0 / 0.7911 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.2447, allocations: 0 / 0.7911 GB, free: 5.566 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001188/0.2459, allocations: 0.7999 MB / 0.7919 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.2459, allocations: 8.031 kB / 0.7919 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.982e-05/0.246, allocations: 52.28 kB / 0.792 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006757/0.2467, allocations: 434.5 kB / 0.7924 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/0.2468, allocations: 24.92 kB / 0.7924 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.543e-05/0.2468, allocations: 35.94 kB / 0.7925 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005819/0.2474, allocations: 323.9 kB / 0.7928 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.2474, allocations: 0 / 0.7928 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.362e-05/0.2475, allocations: 15.94 kB / 0.7928 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.2475, allocations: 4 kB / 0.7928 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005127/0.248, allocations: 218.1 kB / 0.793 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001348/0.2494, allocations: 1.096 MB / 0.7941 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006245/0.25, allocations: 238.9 kB / 0.7943 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002462/0.2503, allocations: 116.8 kB / 0.7944 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.598e-05/0.2503, allocations: 3.984 kB / 0.7944 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003482/0.2507, allocations: 155.3 kB / 0.7946 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 1.994e-06/0.2507, allocations: 0 / 0.7946 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.0008562/0.2515, allocations: 356.7 kB / 0.7949 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.538e-05/0.2516, allocations: 102.8 kB / 0.795 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005332/0.2522, allocations: 449.9 kB / 0.7954 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.2522, allocations: 33.7 kB / 0.7954 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.2524, allocations: 228.5 kB / 0.7957 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.118e-05/0.2524, allocations: 74.98 kB / 0.7957 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.2526, allocations: 57.61 kB / 0.7958 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.2527, allocations: 354.8 kB / 0.7961 GB, free: 176 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002288/0.2529, allocations: 87.95 kB / 0.7962 GB, free: 88 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003055/0.2532, allocations: 163.7 kB / 0.7964 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004768/0.2537, allocations: 223.4 kB / 0.7966 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2538, allocations: 0 / 0.7966 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006059/0.2544, allocations: 299.9 kB / 0.7969 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.2544, allocations: 8.156 kB / 0.7969 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.2544, allocations: 4 kB / 0.7969 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.2544, allocations: 0 / 0.7969 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.2547, allocations: 55.89 kB / 0.7969 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.2547, allocations: 4 kB / 0.7969 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.2549, allocations: 35.61 kB / 0.797 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.434e-05/0.2549, allocations: 12 kB / 0.797 GB, free: 15.25 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.cooMod.combiTimeTable.nextTimeEvent,$whenCondition1,cooMod.combiTimeTable.nextTimeEventScaled,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEvent,cooMod.y,cooTowSpeCon.fmcMod.y,cooTowSpeCon.pmcMod.y,cooTowSpeCon.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0002001/0.2551, allocations: 178.4 kB / 0.7972 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.922e-05/0.2552, allocations: 47.47 kB / 0.7972 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.575e-05/0.2553, allocations: 39.84 kB / 0.7972 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.2553, allocations: 0 / 0.7972 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.2553, allocations: 4 kB / 0.7972 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.2553, allocations: 3.984 kB / 0.7972 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004223/0.2558, allocations: 413.2 kB / 0.7976 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.2558, allocations: 3.938 kB / 0.7976 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002479/0.256, allocations: 35.92 kB / 0.7977 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2561, allocations: 0 / 0.7977 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.585e-05/0.2561, allocations: 7.984 kB / 0.7977 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2561, allocations: 8 kB / 0.7977 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2561, allocations: 0 / 0.7977 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000967/0.2571, allocations: 412.3 kB / 0.7981 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.2572, allocations: 144.5 kB / 0.7982 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.289e-05/0.2573, allocations: 16 kB / 0.7982 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.2575, allocations: 11.98 kB / 0.7983 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.418e-05/0.2576, allocations: 23.97 kB / 0.7983 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/0.2576, allocations: 8 kB / 0.7983 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003391/0.2579, allocations: 319.1 kB / 0.7986 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2579, allocations: 0 / 0.7986 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003412/0.2583, allocations: 79.75 kB / 0.7987 GB, free: 13.43 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cooTowSpeCon.conPID.I.y) * Number of discrete variables: 6 ($whenCondition1,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001042/0.2593, allocations: 440.9 kB / 0.7991 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006315/0.26, allocations: 222.9 kB / 0.7993 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.26, allocations: 8 kB / 0.7993 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002933/0.2603, allocations: 107.8 kB / 0.7994 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005562/0.2609, allocations: 114 kB / 0.7995 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.2622, allocations: 0.677 MB / 0.8002 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006507/0.2629, allocations: 0.8188 MB / 0.801 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001909/0.2631, allocations: 51.25 kB / 0.801 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.261e-05/0.2632, allocations: 35.42 kB / 0.8011 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of SimCode: time 2.8e-07/0.2632, allocations: 0 / 0.8011 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of Templates: time 0.009691/0.2729, allocations: 4.747 MB / 0.8057 GB, free: 6.434 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1)