Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary.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.Equipment.Validation.IntegratedPrimarySecondary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001827/0.001827, allocations: 105.2 kB / 16.36 MB, free: 6.312 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.003384/0.003384, allocations: 189.5 kB / 17.3 MB, free: 5.871 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.62/1.62, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.976/1.976, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001512/0.001512, allocations: 67.91 kB / 0.6729 GB, free: 5.777 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3096, allocations: 114.6 MB / 0.7848 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary): time 2.779/3.089, allocations: 0.8287 GB / 1.613 GB, free: 62.28 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2122/3.301, allocations: 138.3 MB / 1.749 GB, free: 42.43 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0492/3.35, allocations: 0.784 MB / 1.749 GB, free: 42.43 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0351/3.386, allocations: 9.778 MB / 1.759 GB, free: 37.67 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.07892/3.465, allocations: 22.72 MB / 1.781 GB, free: 22.98 MB / 1.061 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/Chillers/BaseClasses/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function 'Buildings.Fluid.Chillers.BaseClasses.warnIfPerformanceOutOfBounds' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.04684/3.511, allocations: 19.26 MB / 1.8 GB, free: 6.758 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.07657/3.588, allocations: 46.45 MB / 1.845 GB, free: 9.496 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0374/3.625, allocations: 18.73 MB / 1.863 GB, free: 6.941 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0515/3.677, allocations: 19.6 MB / 1.883 GB, free: 4.398 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02774/3.705, allocations: 13.46 MB / 1.896 GB, free: 7.887 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.009991/3.715, allocations: 2.168 MB / 1.898 GB, free: 5.719 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03361/3.748, allocations: 8.953 MB / 1.907 GB, free: 13.16 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.012/3.76, allocations: 5.286 MB / 1.912 GB, free: 7.969 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.03056/3.791, allocations: 10.91 MB / 1.922 GB, free: 13.11 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.07521/3.866, allocations: 36.67 MB / 1.958 GB, free: 9.43 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/3.866, allocations: 4 kB / 1.958 GB, free: 9.426 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.613e-06/3.866, allocations: 0 / 1.958 GB, free: 9.426 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.001156/3.868, allocations: 4 kB / 1.958 GB, free: 9.422 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2238 * Number of variables: 2238 Notification: Performance of Generate backend data structure: time 0.08335/3.951, allocations: 20.81 MB / 1.979 GB, free: 4.656 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 6.746e-05/3.951, allocations: 11.98 kB / 1.979 GB, free: 4.645 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03217/3.983, allocations: 3.825 MB / 1.982 GB, free: 0.793 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04985/4.033, allocations: 19.42 MB / 2.001 GB, free: 13.64 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001259/4.034, allocations: 0.8727 MB / 2.002 GB, free: 12.74 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004518/4.039, allocations: 0.9667 MB / 2.003 GB, free: 11.78 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.946/4.985, allocations: 13.8 MB / 2.017 GB, free: 0.5833 GB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004013/4.985, allocations: 15.81 kB / 2.017 GB, free: 0.5833 GB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003763/4.989, allocations: 364.8 kB / 2.017 GB, free: 0.5833 GB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002896/4.99, allocations: 230.2 kB / 2.017 GB, free: 0.5833 GB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04865/5.038, allocations: 13.52 MB / 2.03 GB, free: 0.5801 GB / 1.264 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.1567/5.195, allocations: 71.03 MB / 2.1 GB, free: 0.5325 GB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02444/5.219, allocations: 8.552 MB / 2.108 GB, free: 0.5281 GB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01208/5.232, allocations: 5.241 MB / 2.113 GB, free: 0.5254 GB / 1.264 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 evalFunc (simulation): time 0.05232/5.284, allocations: 22.17 MB / 2.135 GB, free: 0.5089 GB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01374/5.298, allocations: 5.51 MB / 2.14 GB, free: 0.5057 GB / 1.264 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01019/5.308, allocations: 1.214 MB / 2.141 GB, free: 0.5052 GB / 1.264 GB Notification: Performance of pre-optimization done (n=548): time 3.65e-05/5.308, allocations: 0 / 2.141 GB, free: 0.5052 GB / 1.264 GB Notification: Performance of matching and sorting (n=548): time 0.07741/5.385, allocations: 19.91 MB / 2.161 GB, free: 0.4949 GB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003349/5.386, allocations: 0.9556 MB / 2.162 GB, free: 0.4938 GB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03599/5.422, allocations: 16.86 MB / 2.178 GB, free: 495.5 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.002187/5.424, allocations: 177.2 kB / 2.178 GB, free: 495.4 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.009417/5.434, allocations: 7.585 MB / 2.186 GB, free: 487.8 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.003118/5.437, allocations: 1.898 MB / 2.188 GB, free: 485.9 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004441/5.441, allocations: 1.818 MB / 2.189 GB, free: 484.1 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 5.163e-05/5.441, allocations: 301.1 kB / 2.19 GB, free: 483.8 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01022/5.451, allocations: 5.655 MB / 2.195 GB, free: 478.2 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01328/5.465, allocations: 8.081 MB / 2.203 GB, free: 469.2 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02371/5.489, allocations: 12.19 MB / 2.215 GB, free: 456.5 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.468e-05/5.489, allocations: 15.94 kB / 2.215 GB, free: 456.5 MB / 1.264 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.03736/5.526, allocations: 15.59 MB / 2.23 GB, free: 441 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 8.047e-05/5.526, allocations: 53.7 kB / 2.23 GB, free: 440.9 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001376/5.526, allocations: 63.97 kB / 2.23 GB, free: 440.8 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00852/5.535, allocations: 2 MB / 2.232 GB, free: 438.9 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01084/5.546, allocations: 2.126 MB / 2.234 GB, free: 436.8 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00655/5.552, allocations: 8.114 MB / 2.242 GB, free: 428.4 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01751/5.57, allocations: 0.7725 MB / 2.243 GB, free: 427.7 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002921/5.573, allocations: 415.6 kB / 2.244 GB, free: 427.3 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02126/5.594, allocations: 9.944 MB / 2.253 GB, free: 417.3 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01308/5.607, allocations: 7.966 MB / 2.261 GB, free: 408.4 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02156/5.629, allocations: 11.97 MB / 2.273 GB, free: 395.8 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.264e-05/5.629, allocations: 12 kB / 2.273 GB, free: 395.8 MB / 1.264 GB Notification: Performance of matching and sorting (n=1000) (initialization_lambda0): time 0.03954/5.668, allocations: 15.3 MB / 2.288 GB, free: 380.4 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 7.477e-05/5.669, allocations: 56.27 kB / 2.288 GB, free: 380.3 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001343/5.669, allocations: 63.97 kB / 2.288 GB, free: 380.2 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00808/5.677, allocations: 1.917 MB / 2.29 GB, free: 378.3 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009874/5.687, allocations: 1.973 MB / 2.292 GB, free: 376.3 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007204/5.694, allocations: 7.258 MB / 2.299 GB, free: 368.8 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01666/5.711, allocations: 0.8424 MB / 2.299 GB, free: 367.9 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002873/5.714, allocations: 407.5 kB / 2.3 GB, free: 367.5 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 201 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition1,tri.pulseStart,$PRE.tri.pulseStart,tri.y,$whenCondition3,intWSEPriSec2.pum.hys[1].y,$PRE.intWSEPriSec2.pum.hys[1].y,intWSEPriSec2.on[2],intWSEPriSec2.on[1],intWSEPriSec1.pum.hys[1].y,$PRE.intWSEPriSec1.pum.hys[1].y,TCon_in.nextEventScaled,TCon_in.nextEvent,$PRE.TCon_in.nextEvent,TCon_in.last,TCon_in.b,TCon_in.a,$whenCondition2,intWSEPriSec1.wse.heaExc.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (879): * Single equations (assignments): 830 * Array equations: 26 * Algorithm blocks: 1 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(5,23), (3,4), (5,23), (3,4)} Notification: Performance of prepare postOptimizeDAE: time 0.003403/5.717, allocations: 0.6824 MB / 2.301 GB, free: 366.9 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006428/5.723, allocations: 1.52 MB / 2.302 GB, free: 365.3 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03437/5.758, allocations: 12.68 MB / 2.314 GB, free: 352.6 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02196/5.78, allocations: 9.875 MB / 2.324 GB, free: 342.6 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.039e-05/5.78, allocations: 0 / 2.324 GB, free: 342.6 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01142/5.791, allocations: 3.027 MB / 2.327 GB, free: 339.6 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006962/5.798, allocations: 161.1 kB / 2.327 GB, free: 339.4 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01371/5.812, allocations: 0.6319 MB / 2.328 GB, free: 338.8 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00205/5.814, allocations: 388.4 kB / 2.328 GB, free: 338.4 MB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03461/5.849, allocations: 12.24 MB / 2.34 GB, free: 326.2 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04037/5.889, allocations: 18 MB / 2.358 GB, free: 308 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01062/5.9, allocations: 5.196 MB / 2.363 GB, free: 302.8 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.027/5.927, allocations: 11.7 MB / 2.374 GB, free: 291.2 MB / 1.264 GB Notification: Performance of Backend: time 1.342e-06/5.927, allocations: 0 / 2.374 GB, free: 291.2 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.06858/5.996, allocations: 19.29 MB / 2.393 GB, free: 272.2 MB / 1.264 GB Notification: Performance of SimCode: time 0.09434/6.09, allocations: 37.06 MB / 2.429 GB, free: 235.7 MB / 1.264 GB Notification: Performance of Templates: time 1.404/7.494, allocations: 385.5 MB / 2.806 GB, free: 0.4899 GB / 1.264 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary.makefile (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary.sim & ./Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary.pipe 2>&1)