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_ResetController.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_ResetController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.325/1.325, allocations: 252 MB / 267.9 MB, free: 10.93 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.001245/0.001245, allocations: 190.8 kB / 327.6 MB, free: 2.164 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.568/1.568, allocations: 205.4 MB / 0.5785 GB, free: 20.26 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.0007895/0.0007896, allocations: 90.34 kB / 0.6831 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003639/0.0003639, allocations: 12.03 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2045, allocations: 106.3 MB / 0.9012 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9291/1.134, allocations: 444 MB / 1.335 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/1.134, allocations: 111 kB / 1.335 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 8.455/9.589, allocations: 2.534 GB / 3.869 GB, free: 1.074 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.035e-06/9.589, allocations: 0 / 3.869 GB, free: 1.074 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001147/9.59, allocations: 171.8 kB / 3.869 GB, free: 0.9062 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 957 * Number of variables: 957 Notification: Performance of Generate backend data structure: time 0.02476/9.615, allocations: 6.915 MB / 3.876 GB, free: 9.891 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/9.615, allocations: 8.031 kB / 3.876 GB, free: 9.883 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006714/9.622, allocations: 1.351 MB / 3.877 GB, free: 8.523 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01887/9.641, allocations: 6.669 MB / 3.883 GB, free: 1.785 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002012/9.643, allocations: 0.6876 MB / 3.884 GB, free: 1.098 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001921/9.645, allocations: 407.9 kB / 3.884 GB, free: 0.6992 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7889/10.43, allocations: 4.878 MB / 3.889 GB, free: 55.54 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.086e-05/10.43, allocations: 6.953 kB / 3.889 GB, free: 55.54 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004633/10.43, allocations: 157.4 kB / 3.889 GB, free: 55.54 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.234e-05/10.43, allocations: 97.03 kB / 3.889 GB, free: 55.54 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01106/10.45, allocations: 4.376 MB / 3.894 GB, free: 55.51 MB / 1.01 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.03762/10.48, allocations: 22.08 MB / 3.915 GB, free: 47.24 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005214/10.49, allocations: 2.879 MB / 3.918 GB, free: 46.91 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00278/10.49, allocations: 1.574 MB / 3.92 GB, free: 46.9 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001358/10.49, allocations: 1.917 MB / 3.921 GB, free: 44.83 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003412/10.5, allocations: 1.779 MB / 3.923 GB, free: 44.73 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003978/10.5, allocations: 492.5 kB / 3.924 GB, free: 44.73 MB / 1.01 GB Notification: Performance of pre-optimization done (n=233): time 1.175e-05/10.5, allocations: 2.031 kB / 3.924 GB, free: 44.73 MB / 1.01 GB Notification: Performance of matching and sorting (n=233): time 0.01099/10.51, allocations: 4.823 MB / 3.928 GB, free: 44.34 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001538/10.51, allocations: 499.1 kB / 3.929 GB, free: 43.77 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008039/10.52, allocations: 5.098 MB / 3.934 GB, free: 43.38 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.000861/10.52, allocations: 87.52 kB / 3.934 GB, free: 43.35 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.002475/10.52, allocations: 2.637 MB / 3.937 GB, free: 42.86 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.000921/10.52, allocations: 0.7864 MB / 3.937 GB, free: 42.46 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001842/10.52, allocations: 62.47 kB / 3.937 GB, free: 42.46 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001575/10.52, allocations: 424.1 kB / 3.938 GB, free: 42.14 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003228/10.53, allocations: 1.518 MB / 3.939 GB, free: 42.14 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00366/10.53, allocations: 2.519 MB / 3.942 GB, free: 41.07 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006357/10.54, allocations: 3.716 MB / 3.945 GB, free: 40.29 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.485e-05/10.54, allocations: 3.188 kB / 3.945 GB, free: 40.29 MB / 1.01 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.009872/10.55, allocations: 4.55 MB / 3.95 GB, free: 39.85 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003367/10.55, allocations: 0.6774 MB / 3.95 GB, free: 39.06 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-05/10.55, allocations: 25.09 kB / 3.95 GB, free: 39.06 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.02e-05/10.55, allocations: 33.06 kB / 3.95 GB, free: 39.06 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004577/10.55, allocations: 1.02 MB / 3.951 GB, free: 39.05 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002541/10.55, allocations: 5.409 MB / 3.957 GB, free: 33.79 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008234/10.56, allocations: 0.5264 MB / 3.957 GB, free: 33.77 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004687/10.56, allocations: 162.2 kB / 3.957 GB, free: 33.77 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/10.56, allocations: 3.75 kB / 3.957 GB, free: 33.77 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008382/10.57, allocations: 4.006 MB / 3.961 GB, free: 33.65 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-05/10.57, allocations: 26.42 kB / 3.961 GB, free: 33.65 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/10.57, allocations: 32.53 kB / 3.961 GB, free: 33.65 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00324/10.58, allocations: 0.8712 MB / 3.962 GB, free: 33.65 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.84e-05/10.58, allocations: 48.47 kB / 3.962 GB, free: 33.65 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005738/10.58, allocations: 0.5194 MB / 3.963 GB, free: 33.64 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000457/10.58, allocations: 163 kB / 3.963 GB, free: 33.64 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$whenCondition3,hex1.trigger,$PRE.tri.pulseStart,tri.pulseStart,$whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,hex3.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (381): * Single equations (assignments): 365 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003866/10.59, allocations: 1.221 MB / 3.964 GB, free: 33.42 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001852/10.59, allocations: 0.5709 MB / 3.965 GB, free: 33.11 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01106/10.6, allocations: 4.337 MB / 3.969 GB, free: 32.87 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.976e-05/10.6, allocations: 34.48 kB / 3.969 GB, free: 32.87 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.91e-05/10.6, allocations: 5.25 kB / 3.969 GB, free: 32.87 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006866/10.61, allocations: 3.352 MB / 3.972 GB, free: 32.59 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02164/10.63, allocations: 8.979 MB / 3.981 GB, free: 31.95 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/10.63, allocations: 6.938 kB / 3.981 GB, free: 31.95 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003041/10.63, allocations: 0.7059 MB / 3.982 GB, free: 31.95 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-05/10.63, allocations: 11.41 kB / 3.982 GB, free: 31.95 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002791/10.63, allocations: 88.52 kB / 3.982 GB, free: 31.95 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001606/10.63, allocations: 5.351 MB / 3.987 GB, free: 26.68 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/10.63, allocations: 5.969 kB / 3.987 GB, free: 26.68 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01197/10.64, allocations: 6.068 MB / 3.993 GB, free: 25.95 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003511/10.65, allocations: 1.135 MB / 3.994 GB, free: 25.54 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001753/10.65, allocations: 69.44 kB / 3.994 GB, free: 25.54 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005087/10.65, allocations: 472.7 kB / 3.995 GB, free: 25.53 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003358/10.65, allocations: 172.8 kB / 3.995 GB, free: 25.53 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003578/10.66, allocations: 126 kB / 3.995 GB, free: 25.53 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.007592/10.66, allocations: 3.386 MB / 3.998 GB, free: 25.31 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.41e-07/10.66, allocations: 0 / 3.998 GB, free: 25.31 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0112/10.67, allocations: 2.752 MB / 4.001 GB, free: 25.21 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 15 (hex1.thrWayVal.vol.dynBal.U,hex1.thrWayVal.filter.x[1],hex1.thrWayVal.filter.x[2],hex1.con.I.y,TSen1.T,TSen2.T,hex2.thrWayVal.vol.dynBal.U,hex2.thrWayVal.filter.x[1],hex2.thrWayVal.filter.x[2],hex2.con.I.y,hex3.thrWayVal.vol.dynBal.U,hex3.thrWayVal.filter.x[1],hex3.thrWayVal.filter.x[2],hex3.con.I.y,TSen3.T) * Number of discrete variables: 10 (hex1.trigger,$whenCondition3,$whenCondition2,$whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled,tri.pulseStart) * 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 (277): * Single equations (assignments): 253 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 13 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004841/10.68, allocations: 2.604 MB / 4.003 GB, free: 24.39 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0143/10.69, allocations: 6.315 MB / 4.01 GB, free: 23.99 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/10.69, allocations: 3.375 kB / 4.01 GB, free: 23.99 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.003984/10.7, allocations: 1.943 MB / 4.011 GB, free: 23.91 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02009/10.72, allocations: 2.923 MB / 4.014 GB, free: 23.86 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02281/10.74, allocations: 11.87 MB / 4.026 GB, free: 18.63 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003915/10.74, allocations: 2.84 MB / 4.029 GB, free: 17.76 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.00896/10.75, allocations: 1.263 MB / 4.03 GB, free: 17.55 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002116/10.76, allocations: 456.9 kB / 4.03 GB, free: 17.55 MB / 1.01 GB Notification: Performance of SimCode: time 9.62e-07/10.76, allocations: 0 / 4.03 GB, free: 17.55 MB / 1.01 GB Notification: Performance of Templates: time 0.191/10.95, allocations: 121.7 MB / 4.149 GB, free: 9.152 MB / 1.01 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.makefile (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe 2>&1)