Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.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.HeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 108.7 kB / 16.37 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.001119/0.001119, allocations: 191.2 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.569/1.569, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.981/1.981, 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.001585/0.001586, allocations: 63.91 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2895, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger): time 0.7966/1.086, allocations: 161.8 MB / 0.9428 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.06707/1.153, allocations: 32.07 MB / 0.9741 GB, free: 8.371 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01238/1.166, allocations: 194.7 kB / 0.9743 GB, free: 8.18 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.007406/1.173, allocations: 1.883 MB / 0.9762 GB, free: 6.285 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01891/1.192, allocations: 4.473 MB / 0.9805 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01363/1.206, allocations: 4.618 MB / 0.985 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01615/1.222, allocations: 8.545 MB / 0.9934 GB, free: 4.676 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006427/1.229, allocations: 3.175 MB / 0.9965 GB, free: 1.473 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01287/1.241, allocations: 3.887 MB / 1 GB, free: 13.59 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00664/1.248, allocations: 2.477 MB / 1.003 GB, free: 11.1 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.00142/1.25, allocations: 371.9 kB / 1.003 GB, free: 10.74 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008699/1.258, allocations: 2.687 MB / 1.006 GB, free: 8.047 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.00164/1.26, allocations: 0.8289 MB / 1.006 GB, free: 7.215 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.004001/1.264, allocations: 1.932 MB / 1.008 GB, free: 5.273 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01328/1.277, allocations: 6.321 MB / 1.015 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.171e-05/1.277, allocations: 0 / 1.015 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.814e-06/1.277, allocations: 3.938 kB / 1.015 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0002082/1.278, allocations: 0 / 1.015 GB, free: 14.93 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.01106/1.289, allocations: 4.025 MB / 1.018 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.008e-05/1.289, allocations: 8.031 kB / 1.018 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003657/1.292, allocations: 0.7878 MB / 1.019 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007177/1.3, allocations: 3.02 MB / 1.022 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001565/1.3, allocations: 159.8 kB / 1.022 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003715/1.3, allocations: 204 kB / 1.023 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005212/1.305, allocations: 2.487 MB / 1.025 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.473e-05/1.305, allocations: 0 / 1.025 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001954/1.306, allocations: 87.98 kB / 1.025 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.173e-05/1.306, allocations: 52 kB / 1.025 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005116/1.311, allocations: 2.279 MB / 1.027 GB, free: 1.609 MB / 0.8106 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.01943/1.33, allocations: 12.57 MB / 1.04 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003415/1.334, allocations: 1.461 MB / 1.041 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001899/1.336, allocations: 0.9019 MB / 1.042 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001882/1.338, allocations: 1.797 MB / 1.044 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002268/1.34, allocations: 0.97 MB / 1.045 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001663/1.342, allocations: 154.6 kB / 1.045 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=132): time 6.162e-06/1.342, allocations: 0 / 1.045 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of matching and sorting (n=132): time 0.007931/1.349, allocations: 2.944 MB / 1.048 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.786e-05/1.35, allocations: 167.5 kB / 1.048 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004636/1.354, allocations: 2.665 MB / 1.05 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0003591/1.355, allocations: 53.7 kB / 1.05 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.001479/1.356, allocations: 1.344 MB / 1.052 GB, free: 7.137 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005585/1.357, allocations: 457.4 kB / 1.052 GB, free: 6.684 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006121/1.357, allocations: 351.2 kB / 1.053 GB, free: 6.332 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001429/1.357, allocations: 301.1 kB / 1.053 GB, free: 6.035 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002019/1.359, allocations: 0.8168 MB / 1.054 GB, free: 5.215 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002329/1.362, allocations: 1.202 MB / 1.055 GB, free: 3.871 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003936/1.366, allocations: 1.913 MB / 1.057 GB, free: 1.84 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/1.366, allocations: 3.938 kB / 1.057 GB, free: 1.836 MB / 0.8419 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.006404/1.372, allocations: 2.52 MB / 1.059 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.77e-05/1.372, allocations: 37.8 kB / 1.059 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.817e-05/1.372, allocations: 15.98 kB / 1.059 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007365/1.373, allocations: 162.6 kB / 1.059 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001767/1.375, allocations: 407.4 kB / 1.06 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00087/1.376, allocations: 1.209 MB / 1.061 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002808/1.379, allocations: 171.8 kB / 1.061 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001993/1.379, allocations: 79.95 kB / 1.061 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003358/1.382, allocations: 1.297 MB / 1.062 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002341/1.384, allocations: 1.192 MB / 1.064 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003893/1.388, allocations: 1.893 MB / 1.065 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.702e-06/1.388, allocations: 0 / 1.065 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.005978/1.394, allocations: 2.441 MB / 1.068 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.522e-05/1.394, allocations: 43.72 kB / 1.068 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/1.394, allocations: 8 kB / 1.068 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003531/1.395, allocations: 109.9 kB / 1.068 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001696/1.397, allocations: 416.5 kB / 1.068 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003161/1.4, allocations: 3.634 MB / 1.072 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002648/1.402, allocations: 179.9 kB / 1.072 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001751/1.403, allocations: 79.95 kB / 1.072 GB, free: 1.324 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 8 (TCon_in.nextEventScaled,TCon_in.nextEvent,$PRE.TCon_in.nextEvent,TCon_in.last,TCon_in.b,TCon_in.a,$whenCondition1,hex1.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 177 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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): 2 systems {(1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0006478/1.403, allocations: 315.2 kB / 1.072 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005733/1.404, allocations: 300.2 kB / 1.073 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005928/1.41, allocations: 2.606 MB / 1.075 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004143/1.414, allocations: 2.095 MB / 1.077 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/1.414, allocations: 0 / 1.077 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001705/1.416, allocations: 0.6452 MB / 1.078 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003476/1.416, allocations: 28 kB / 1.078 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001611/1.418, allocations: 135.9 kB / 1.078 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002272/1.418, allocations: 109.1 kB / 1.078 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005373/1.423, allocations: 2.347 MB / 1.081 GB, free: 8.668 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007049/1.43, allocations: 3.444 MB / 1.084 GB, free: 5.188 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001986/1.432, allocations: 0.9635 MB / 1.085 GB, free: 4.227 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.003207/1.436, allocations: 1.801 MB / 1.087 GB, free: 2.434 MB / 0.8731 GB Notification: Performance of Backend: time 8.42e-07/1.436, allocations: 3.938 kB / 1.087 GB, free: 2.43 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01009/1.446, allocations: 3.661 MB / 1.09 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of SimCode: time 0.0134/1.459, allocations: 6.236 MB / 1.096 GB, free: 8.48 MB / 0.8887 GB Notification: Performance of Templates: time 0.7258/2.185, allocations: 68.08 MB / 1.163 GB, free: 298.3 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.makefile (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.sim & ./Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe 2>&1)