Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7949/0.7949, allocations: 127.4 MB / 134.9 MB, free: 3.48 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001201/0.001201, allocations: 186 kB / 164.6 MB, free: 11.59 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.964/1.964, allocations: 205.2 MB / 399.5 MB, free: 13.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009772/0.0009772, allocations: 95.77 kB / 476.7 MB, free: 1.434 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.044e-05/2.047e-05, allocations: 4.719 kB / 0.5466 GB, free: 95.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2104, allocations: 76.76 MB / 0.6215 GB, free: 43.06 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.47/1.68, allocations: 416.1 MB / 1.028 GB, free: 179.4 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/1.68, allocations: 98.97 kB / 1.028 GB, free: 179.4 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.245/5.925, allocations: 1.117 GB / 2.145 GB, free: 88.07 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.172e-06/5.925, allocations: 0 / 2.145 GB, free: 88.07 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.000426/5.926, allocations: 54.53 kB / 2.145 GB, free: 88.05 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.006857/5.933, allocations: 2.099 MB / 2.147 GB, free: 86.92 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/5.933, allocations: 10.19 kB / 2.147 GB, free: 86.92 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002979/5.936, allocations: 459.1 kB / 2.148 GB, free: 86.8 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00738/5.943, allocations: 2.386 MB / 2.15 GB, free: 86.05 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-05/5.943, allocations: 36.28 kB / 2.15 GB, free: 86.05 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004336/5.944, allocations: 78.44 kB / 2.15 GB, free: 86.04 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001785/5.945, allocations: 0.8011 MB / 2.151 GB, free: 85.72 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/5.947, allocations: 1.129 MB / 2.152 GB, free: 85.12 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.896e-05/5.947, allocations: 5.469 kB / 2.152 GB, free: 85.12 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.906e-05/5.947, allocations: 7.938 kB / 2.152 GB, free: 85.11 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-05/5.947, allocations: 30.12 kB / 2.152 GB, free: 85.11 MB / 0.6667 GB Warning: The model contains alias variables with conflicting start and/or 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.007783/5.955, allocations: 7.046 MB / 2.159 GB, free: 79.68 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/5.956, allocations: 1.126 MB / 2.16 GB, free: 78.83 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003727/5.957, allocations: 284.6 kB / 2.161 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003737/5.96, allocations: 2.68 MB / 2.163 GB, free: 76.55 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004565/5.961, allocations: 354.6 kB / 2.163 GB, free: 76.39 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005021/5.961, allocations: 73.31 kB / 2.164 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=57): time 3.055e-06/5.961, allocations: 3.094 kB / 2.164 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of matching and sorting (n=57): time 0.00677/5.968, allocations: 1.569 MB / 2.165 GB, free: 75.91 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/5.968, allocations: 188.1 kB / 2.165 GB, free: 75.7 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001923/5.97, allocations: 1.262 MB / 2.167 GB, free: 75.18 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001057/5.97, allocations: 25.7 kB / 2.167 GB, free: 75.15 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000739/5.971, allocations: 0.92 MB / 2.167 GB, free: 74.43 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/5.971, allocations: 197.8 kB / 2.168 GB, free: 74.27 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.5e-05/5.971, allocations: 0 / 2.168 GB, free: 74.27 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.512e-05/5.971, allocations: 348.5 kB / 2.168 GB, free: 73.95 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003648/5.972, allocations: 267.5 kB / 2.168 GB, free: 73.85 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005471/5.972, allocations: 0.7171 MB / 2.169 GB, free: 73.15 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005728/5.978, allocations: 1.189 MB / 2.17 GB, free: 72.95 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/5.978, allocations: 3.375 kB / 2.17 GB, free: 72.95 MB / 0.6667 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.00689/5.985, allocations: 1.845 MB / 2.172 GB, free: 72.49 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001044/5.986, allocations: 4.995 MB / 2.177 GB, free: 67.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.458e-05/5.986, allocations: 12.69 kB / 2.177 GB, free: 67.16 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.993e-05/5.986, allocations: 23.19 kB / 2.177 GB, free: 67.16 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009795/5.987, allocations: 258.1 kB / 2.177 GB, free: 67.13 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.107e-05/5.987, allocations: 26.38 kB / 2.177 GB, free: 67.13 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/5.989, allocations: 107.5 kB / 2.177 GB, free: 67.12 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/5.989, allocations: 52.75 kB / 2.177 GB, free: 67.11 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/5.989, allocations: 7.312 kB / 2.177 GB, free: 67.11 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006443/5.995, allocations: 1.617 MB / 2.179 GB, free: 66.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.782e-05/5.995, allocations: 17.86 kB / 2.179 GB, free: 66.73 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/5.995, allocations: 21.64 kB / 2.179 GB, free: 66.73 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008502/5.996, allocations: 241.9 kB / 2.179 GB, free: 66.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.007e-05/5.996, allocations: 26.34 kB / 2.179 GB, free: 66.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/5.997, allocations: 88.2 kB / 2.179 GB, free: 66.68 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.151e-05/5.998, allocations: 56.67 kB / 2.179 GB, free: 66.68 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 121 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002598/5.998, allocations: 146 kB / 2.179 GB, free: 66.54 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/5.998, allocations: 167.9 kB / 2.18 GB, free: 66.45 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006637/6.005, allocations: 1.725 MB / 2.181 GB, free: 65.69 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/6.005, allocations: 7.906 kB / 2.181 GB, free: 65.69 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/6.005, allocations: 0 / 2.181 GB, free: 65.69 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005622/6.01, allocations: 1.59 MB / 2.183 GB, free: 64.77 MB / 0.6667 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.00801/6.018, allocations: 2.732 MB / 2.185 GB, free: 62.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/6.018, allocations: 3.938 kB / 2.185 GB, free: 62.09 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006878/6.019, allocations: 139.8 kB / 2.186 GB, free: 61.95 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001231/6.019, allocations: 16.86 kB / 2.186 GB, free: 61.93 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.866e-05/6.019, allocations: 15.98 kB / 2.186 GB, free: 61.92 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006877/6.02, allocations: 1.263 MB / 2.187 GB, free: 60.55 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/6.02, allocations: 0 / 2.187 GB, free: 60.55 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006395/6.026, allocations: 2.053 MB / 2.189 GB, free: 58.45 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005789/6.027, allocations: 325 kB / 2.189 GB, free: 58.12 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/6.027, allocations: 11.92 kB / 2.189 GB, free: 58.11 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008291/6.028, allocations: 71.83 kB / 2.189 GB, free: 58.04 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/6.028, allocations: 52.48 kB / 2.189 GB, free: 57.98 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.916e-05/6.028, allocations: 31.94 kB / 2.189 GB, free: 57.95 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001225/6.03, allocations: 0.9357 MB / 2.19 GB, free: 57.03 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.6e-07/6.03, allocations: 0 / 2.19 GB, free: 57.03 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003363/6.033, allocations: 0.9859 MB / 2.191 GB, free: 56.04 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002145/6.035, allocations: 1.249 MB / 2.192 GB, free: 55.06 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00178/6.037, allocations: 1.372 MB / 2.194 GB, free: 53.66 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/6.037, allocations: 320 / 2.194 GB, free: 53.66 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005213/6.037, allocations: 414.2 kB / 2.194 GB, free: 53.24 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002588/6.04, allocations: 0.6433 MB / 2.195 GB, free: 52.62 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003582/6.044, allocations: 2.283 MB / 2.197 GB, free: 50.32 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006931/6.044, allocations: 1.406 MB / 2.198 GB, free: 48.88 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0023/6.047, allocations: 0.5995 MB / 2.199 GB, free: 48.33 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002366/6.047, allocations: 103.4 kB / 2.199 GB, free: 48.23 MB / 0.6667 GB Notification: Performance of SimCode: time 5.71e-07/6.047, allocations: 4 kB / 2.199 GB, free: 48.23 MB / 0.6667 GB Notification: Performance of Templates: time 0.04965/6.097, allocations: 33.23 MB / 2.232 GB, free: 15.66 MB / 0.6667 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)