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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.769/0.769, allocations: 127.4 MB / 134.9 MB, free: 3.496 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.001601/0.001602, allocations: 185 kB / 164.6 MB, free: 11.62 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.979/1.979, allocations: 205.2 MB / 399.5 MB, free: 13.54 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.001119/0.001119, allocations: 99.11 kB / 476.7 MB, free: 1.527 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.256e-05/2.258e-05, allocations: 3.344 kB / 0.5466 GB, free: 95.37 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2119, allocations: 76.77 MB / 0.6216 GB, free: 43.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.512/1.724, allocations: 416.1 MB / 1.028 GB, free: 179.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003225/1.725, allocations: 95.06 kB / 1.028 GB, free: 179.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.231/5.956, allocations: 1.117 GB / 2.145 GB, free: 87.86 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.483e-06/5.956, allocations: 0 / 2.145 GB, free: 87.86 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002451/5.956, allocations: 52.53 kB / 2.145 GB, free: 87.84 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.005401/5.961, allocations: 2.105 MB / 2.147 GB, free: 86.69 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.767e-05/5.961, allocations: 10.44 kB / 2.148 GB, free: 86.69 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002654/5.964, allocations: 458.7 kB / 2.148 GB, free: 86.57 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00716/5.971, allocations: 2.388 MB / 2.15 GB, free: 85.7 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.475e-05/5.971, allocations: 38.81 kB / 2.15 GB, free: 85.7 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00018/5.972, allocations: 77.59 kB / 2.15 GB, free: 85.7 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001511/5.973, allocations: 0.7992 MB / 2.151 GB, free: 85.38 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/5.975, allocations: 1.127 MB / 2.152 GB, free: 84.77 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.953e-05/5.975, allocations: 3.438 kB / 2.152 GB, free: 84.77 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.666e-05/5.975, allocations: 5.844 kB / 2.152 GB, free: 84.77 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.074e-05/5.975, allocations: 35.92 kB / 2.152 GB, free: 84.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 preOpt removeSimpleEquations (simulation): time 0.008232/5.983, allocations: 7.048 MB / 2.159 GB, free: 79.3 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/5.984, allocations: 1.117 MB / 2.16 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003815/5.985, allocations: 286.7 kB / 2.161 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00394/5.989, allocations: 2.683 MB / 2.163 GB, free: 76.16 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005035/5.989, allocations: 354.4 kB / 2.164 GB, free: 76 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006201/5.99, allocations: 75.27 kB / 2.164 GB, free: 75.97 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=57): time 3.016e-06/5.99, allocations: 2.969 kB / 2.164 GB, free: 75.97 MB / 0.6667 GB Notification: Performance of matching and sorting (n=57): time 0.007258/5.997, allocations: 1.561 MB / 2.165 GB, free: 75.53 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.69e-05/5.997, allocations: 192.1 kB / 2.165 GB, free: 75.3 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002074/5.999, allocations: 1.263 MB / 2.167 GB, free: 74.79 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001265/5.999, allocations: 29.67 kB / 2.167 GB, free: 74.75 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007322/6, allocations: 0.9155 MB / 2.167 GB, free: 74.03 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/6, allocations: 203 kB / 2.168 GB, free: 73.88 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.315e-05/6, allocations: 1.406 kB / 2.168 GB, free: 73.88 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.817e-05/6, allocations: 341.2 kB / 2.168 GB, free: 73.56 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003855/6.001, allocations: 268 kB / 2.168 GB, free: 73.46 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005743/6.001, allocations: 0.7199 MB / 2.169 GB, free: 72.75 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005938/6.007, allocations: 1.193 MB / 2.17 GB, free: 72.55 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.518e-05/6.007, allocations: 3.594 kB / 2.17 GB, free: 72.55 MB / 0.6667 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.007675/6.015, allocations: 1.843 MB / 2.172 GB, free: 72.1 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001611/6.017, allocations: 4.996 MB / 2.177 GB, free: 66.76 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.161e-05/6.017, allocations: 12.66 kB / 2.177 GB, free: 66.76 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.886e-05/6.017, allocations: 20.97 kB / 2.177 GB, free: 66.76 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009477/6.018, allocations: 266.4 kB / 2.177 GB, free: 66.73 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.232e-05/6.018, allocations: 23.89 kB / 2.177 GB, free: 66.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/6.019, allocations: 107.1 kB / 2.177 GB, free: 66.72 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/6.02, allocations: 54.08 kB / 2.177 GB, free: 66.71 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/6.02, allocations: 5.031 kB / 2.177 GB, free: 66.71 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009442/6.029, allocations: 1.612 MB / 2.179 GB, free: 66.35 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-05/6.029, allocations: 14.62 kB / 2.179 GB, free: 66.35 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.291e-05/6.029, allocations: 22.89 kB / 2.179 GB, free: 66.35 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/6.031, allocations: 245 kB / 2.179 GB, free: 66.32 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.908e-05/6.031, allocations: 25.89 kB / 2.179 GB, free: 66.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002181/6.033, allocations: 93.95 kB / 2.179 GB, free: 66.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/6.033, allocations: 59.16 kB / 2.179 GB, free: 66.29 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.0003743/6.033, allocations: 144.8 kB / 2.179 GB, free: 66.15 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009363/6.043, allocations: 1.51 MB / 2.181 GB, free: 65.42 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002929/6.043, allocations: 164.3 kB / 2.181 GB, free: 65.34 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008659/6.052, allocations: 1.727 MB / 2.183 GB, free: 64.44 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/6.052, allocations: 3.906 kB / 2.183 GB, free: 64.44 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/6.052, allocations: 7.188 kB / 2.183 GB, free: 64.44 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00871/6.061, allocations: 1.587 MB / 2.184 GB, free: 63.18 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.01237/6.073, allocations: 2.746 MB / 2.187 GB, free: 60.39 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/6.073, allocations: 0 / 2.187 GB, free: 60.39 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/6.074, allocations: 131.8 kB / 2.187 GB, free: 60.26 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002045/6.074, allocations: 23.48 kB / 2.187 GB, free: 60.23 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.029e-05/6.074, allocations: 23.92 kB / 2.187 GB, free: 60.21 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001122/6.076, allocations: 1.256 MB / 2.188 GB, free: 58.84 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/6.076, allocations: 0 / 2.188 GB, free: 58.84 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0103/6.086, allocations: 2.053 MB / 2.19 GB, free: 56.76 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009056/6.087, allocations: 322.8 kB / 2.191 GB, free: 56.42 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000258/6.087, allocations: 7.984 kB / 2.191 GB, free: 56.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/6.089, allocations: 71.92 kB / 2.191 GB, free: 56.34 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/6.089, allocations: 52.48 kB / 2.191 GB, free: 56.29 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.212e-05/6.089, allocations: 23.98 kB / 2.191 GB, free: 56.27 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001983/6.091, allocations: 0.9396 MB / 2.192 GB, free: 55.34 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.41e-07/6.091, allocations: 0 / 2.192 GB, free: 55.34 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.005272/6.096, allocations: 0.9859 MB / 2.193 GB, free: 54.35 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.01437/6.111, allocations: 3.747 MB / 2.196 GB, free: 50.82 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002966/6.114, allocations: 1.372 MB / 2.198 GB, free: 49.41 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/6.114, allocations: 0 / 2.198 GB, free: 49.41 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0008391/6.114, allocations: 420.1 kB / 2.198 GB, free: 48.99 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004585/6.119, allocations: 0.6352 MB / 2.199 GB, free: 48.38 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008868/6.128, allocations: 2.723 MB / 2.201 GB, free: 45.62 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001111/6.129, allocations: 1.41 MB / 2.203 GB, free: 44.19 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.005759/6.135, allocations: 0.5808 MB / 2.203 GB, free: 43.64 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002001/6.137, allocations: 0.714 MB / 2.204 GB, free: 42.93 MB / 0.6667 GB Notification: Performance of SimCode: time 1.362e-06/6.137, allocations: 0 / 2.204 GB, free: 42.93 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.59/6.727, allocations: 48.55 MB / 2.251 GB, free: 82.84 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/6.727, allocations: 179.5 kB / 2.252 GB, free: 82.66 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.858/10.59, allocations: 3.875 kB / 2.252 GB, free: 82.66 MB / 0.6667 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Examples_WaterCooler_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Examples_WaterCooler_T.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)