Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.287/1.287, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 188.8 kB / 327.6 MB, free: 2.16 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.547/1.547, allocations: 205.4 MB / 0.5785 GB, free: 20.46 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007486/0.0007486, allocations: 91.97 kB / 0.6831 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003729/0.0003729, allocations: 12 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1988, allocations: 106.3 MB / 0.9012 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9173/1.116, allocations: 441.6 MB / 1.332 GB, free: 7.516 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/1.117, allocations: 110.9 kB / 1.333 GB, free: 7.453 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.184/6.301, allocations: 1.443 GB / 2.776 GB, free: 79.37 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.094e-06/6.301, allocations: 2.312 kB / 2.776 GB, free: 79.37 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0004663/6.301, allocations: 88.98 kB / 2.776 GB, free: 79.37 MB / 0.9323 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.00899/6.31, allocations: 3.84 MB / 2.78 GB, free: 78.54 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/6.31, allocations: 12.72 kB / 2.78 GB, free: 78.54 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003221/6.314, allocations: 0.7904 MB / 2.781 GB, free: 78.35 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007736/6.321, allocations: 3.475 MB / 2.784 GB, free: 77.77 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001277/6.323, allocations: 423.2 kB / 2.784 GB, free: 77.77 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005972/6.323, allocations: 210.6 kB / 2.785 GB, free: 77.77 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005396/6.329, allocations: 2.573 MB / 2.787 GB, free: 77.46 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.977e-05/6.329, allocations: 4.875 kB / 2.787 GB, free: 77.46 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002002/6.329, allocations: 83.59 kB / 2.787 GB, free: 77.46 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-05/6.329, allocations: 48.38 kB / 2.787 GB, free: 77.46 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005324/6.334, allocations: 2.375 MB / 2.79 GB, free: 77.45 MB / 0.9323 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.01589/6.35, allocations: 12.6 MB / 2.802 GB, free: 71.48 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003084/6.353, allocations: 1.694 MB / 2.803 GB, free: 71.27 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001534/6.355, allocations: 0.9034 MB / 2.804 GB, free: 71.25 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/6.356, allocations: 1.647 MB / 2.806 GB, free: 69.47 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001697/6.358, allocations: 0.987 MB / 2.807 GB, free: 69.39 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001752/6.359, allocations: 200.2 kB / 2.807 GB, free: 69.35 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=127): time 3.446e-06/6.359, allocations: 0 / 2.807 GB, free: 69.35 MB / 0.9323 GB Notification: Performance of matching and sorting (n=127): time 0.006869/6.366, allocations: 3.037 MB / 2.81 GB, free: 68.89 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.268e-05/6.366, allocations: 222.5 kB / 2.81 GB, free: 68.64 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004119/6.371, allocations: 2.67 MB / 2.813 GB, free: 68.4 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002196/6.371, allocations: 55.08 kB / 2.813 GB, free: 68.37 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001105/6.372, allocations: 1.34 MB / 2.814 GB, free: 68.02 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000278/6.372, allocations: 446 kB / 2.815 GB, free: 67.74 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.547e-05/6.372, allocations: 28.91 kB / 2.815 GB, free: 67.74 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.006e-05/6.372, allocations: 363.1 kB / 2.815 GB, free: 67.44 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001608/6.374, allocations: 0.8293 MB / 2.816 GB, free: 67.44 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001824/6.376, allocations: 1.293 MB / 2.817 GB, free: 66.95 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00314/6.379, allocations: 1.959 MB / 2.819 GB, free: 66.58 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/6.379, allocations: 5.469 kB / 2.819 GB, free: 66.58 MB / 0.9323 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.004957/6.384, allocations: 2.57 MB / 2.822 GB, free: 66.32 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001618/6.384, allocations: 372.4 kB / 2.822 GB, free: 65.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.271e-05/6.384, allocations: 14.66 kB / 2.822 GB, free: 65.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005827/6.385, allocations: 148.6 kB / 2.822 GB, free: 65.89 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/6.386, allocations: 435.7 kB / 2.823 GB, free: 65.89 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006451/6.387, allocations: 1.202 MB / 2.824 GB, free: 64.85 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003063/6.39, allocations: 323.9 kB / 2.824 GB, free: 64.83 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001868/6.39, allocations: 90.08 kB / 2.824 GB, free: 64.83 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/6.39, allocations: 2.406 kB / 2.824 GB, free: 64.83 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004425/6.395, allocations: 2.251 MB / 2.826 GB, free: 64.75 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/6.395, allocations: 9.047 kB / 2.826 GB, free: 64.75 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002965/6.395, allocations: 108 kB / 2.826 GB, free: 64.73 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/6.397, allocations: 433.5 kB / 2.827 GB, free: 64.73 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002206/6.399, allocations: 3.286 MB / 2.83 GB, free: 61.94 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002554/6.401, allocations: 309.7 kB / 2.83 GB, free: 61.93 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/6.401, allocations: 87.53 kB / 2.83 GB, free: 61.93 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,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 (179): * Single equations (assignments): 174 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001607/6.403, allocations: 0.7092 MB / 2.831 GB, free: 61.7 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004443/6.404, allocations: 304.7 kB / 2.831 GB, free: 61.54 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004725/6.408, allocations: 2.605 MB / 2.834 GB, free: 61.36 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.198e-05/6.408, allocations: 25.83 kB / 2.834 GB, free: 61.36 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/6.408, allocations: 3.938 kB / 2.834 GB, free: 61.35 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003406/6.412, allocations: 2.155 MB / 2.836 GB, free: 61.01 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00951/6.421, allocations: 5.349 MB / 2.841 GB, free: 60.25 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/6.421, allocations: 0 / 2.841 GB, free: 60.25 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001292/6.423, allocations: 335.1 kB / 2.842 GB, free: 60.25 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002176/6.423, allocations: 96.92 kB / 2.842 GB, free: 60.23 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/6.423, allocations: 47.78 kB / 2.842 GB, free: 60.23 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005072/6.423, allocations: 1.185 MB / 2.843 GB, free: 59.19 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/6.423, allocations: 7.859 kB / 2.843 GB, free: 59.19 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007197/6.431, allocations: 3.636 MB / 2.846 GB, free: 58.68 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002128/6.433, allocations: 0.6565 MB / 2.847 GB, free: 58.41 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004126/6.433, allocations: 34.59 kB / 2.847 GB, free: 58.41 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002044/6.435, allocations: 267.7 kB / 2.847 GB, free: 58.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001931/6.436, allocations: 97.03 kB / 2.847 GB, free: 58.39 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001508/6.436, allocations: 74.69 kB / 2.848 GB, free: 58.39 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.003236/6.439, allocations: 1.825 MB / 2.849 GB, free: 58.25 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.1e-07/6.439, allocations: 3.188 kB / 2.849 GB, free: 58.25 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.005538/6.444, allocations: 1.566 MB / 2.851 GB, free: 58.06 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 6 (hex1.thrWayVal.vol.dynBal.U,hex1.thrWayVal.filter.x[1],hex1.thrWayVal.filter.x[2],hex1.con.I.y,TSen1.T,TSen2.T) * Number of discrete variables: 6 ($whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled) * Number of discrete states: 6 (TCon_in.nextEvent,TCon_in.last,TCon_in.nextEventScaled,TCon_in.b,TCon_in.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002552/6.447, allocations: 1.552 MB / 2.852 GB, free: 57.62 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006559/6.454, allocations: 3.624 MB / 2.856 GB, free: 57.18 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/6.454, allocations: 0 / 2.856 GB, free: 57.18 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00195/6.456, allocations: 1.106 MB / 2.857 GB, free: 57.11 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008168/6.464, allocations: 1.47 MB / 2.858 GB, free: 57.09 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009901/6.474, allocations: 6.343 MB / 2.865 GB, free: 54.41 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001191/6.475, allocations: 1.795 MB / 2.866 GB, free: 53.67 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003466/6.478, allocations: 0.677 MB / 2.867 GB, free: 53.64 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006/6.479, allocations: 238.8 kB / 2.867 GB, free: 53.64 MB / 0.9323 GB Notification: Performance of SimCode: time 9.22e-07/6.479, allocations: 0 / 2.867 GB, free: 53.64 MB / 0.9323 GB Notification: Performance of Templates: time 0.09318/6.572, allocations: 66.18 MB / 2.932 GB, free: 49.46 MB / 0.9323 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe 2>&1)