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.8673/0.8673, allocations: 128.7 MB / 143.7 MB, free: 2.305 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.001119/0.001119, allocations: 185.8 kB / 173.7 MB, free: 6.129 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.625/1.625, allocations: 205.4 MB / 409 MB, free: 10.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.0009342/0.0009341, allocations: 88.11 kB / 486.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003793/0.0003794, allocations: 9.719 kB / 0.5604 GB, free: 97.43 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1471, allocations: 76.77 MB / 0.6354 GB, free: 30.47 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.067/1.214, allocations: 416.8 MB / 1.042 GB, free: 212.1 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/1.214, allocations: 102.6 kB / 1.043 GB, free: 212 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.702/4.916, allocations: 1.127 GB / 2.169 GB, free: 76.97 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.883e-06/4.916, allocations: 0 / 2.169 GB, free: 76.97 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0003767/4.917, allocations: 49.84 kB / 2.169 GB, free: 76.96 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.007881/4.925, allocations: 2.597 MB / 2.172 GB, free: 75.09 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/4.925, allocations: 10.88 kB / 2.172 GB, free: 75.09 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005739/4.925, allocations: 174.4 kB / 2.172 GB, free: 74.95 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002659/4.928, allocations: 462.2 kB / 2.172 GB, free: 74.76 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0072/4.935, allocations: 2.408 MB / 2.175 GB, free: 72.99 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/4.935, allocations: 94.3 kB / 2.175 GB, free: 72.9 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004134/4.936, allocations: 135.8 kB / 2.175 GB, free: 72.77 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003332/4.939, allocations: 1.381 MB / 2.176 GB, free: 71.27 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.134e-05/4.939, allocations: 7.938 kB / 2.176 GB, free: 71.27 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001695/4.939, allocations: 54.05 kB / 2.176 GB, free: 71.21 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.585e-05/4.939, allocations: 32 kB / 2.176 GB, free: 71.18 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002535/4.942, allocations: 1.002 MB / 2.177 GB, free: 70.18 MB / 0.6667 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.009726/4.952, allocations: 7.256 MB / 2.185 GB, free: 62.46 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002135/4.954, allocations: 1.274 MB / 2.186 GB, free: 61.08 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004602/4.958, allocations: 2.689 MB / 2.188 GB, free: 58.12 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001075/4.959, allocations: 444.9 kB / 2.189 GB, free: 57.67 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008291/4.96, allocations: 89.62 kB / 2.189 GB, free: 57.59 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=58): time 5.27e-06/4.96, allocations: 0 / 2.189 GB, free: 57.59 MB / 0.6667 GB Notification: Performance of matching and sorting (n=58): time 0.003226/4.964, allocations: 1.22 MB / 2.19 GB, free: 56.33 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.205e-05/4.964, allocations: 191.4 kB / 2.19 GB, free: 56.11 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002758/4.966, allocations: 1.394 MB / 2.192 GB, free: 54.71 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.65e-05/4.966, allocations: 41.7 kB / 2.192 GB, free: 54.67 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008392/4.967, allocations: 0.922 MB / 2.193 GB, free: 53.74 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/4.968, allocations: 213.8 kB / 2.193 GB, free: 53.54 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.952e-05/4.968, allocations: 20 kB / 2.193 GB, free: 53.52 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.983e-05/4.968, allocations: 345.2 kB / 2.193 GB, free: 53.18 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007389/4.968, allocations: 336.5 kB / 2.193 GB, free: 52.85 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009763/4.969, allocations: 0.7957 MB / 2.194 GB, free: 51.83 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009521/4.97, allocations: 476.5 kB / 2.195 GB, free: 51.36 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/4.97, allocations: 4 kB / 2.195 GB, free: 51.36 MB / 0.6667 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002484/4.973, allocations: 1.255 MB / 2.196 GB, free: 50.09 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001133/4.974, allocations: 5.014 MB / 2.201 GB, free: 44.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.768e-05/4.974, allocations: 12 kB / 2.201 GB, free: 44.64 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.74e-05/4.974, allocations: 20 kB / 2.201 GB, free: 44.62 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009698/4.975, allocations: 259.5 kB / 2.201 GB, free: 44.37 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.913e-05/4.975, allocations: 27.92 kB / 2.201 GB, free: 44.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/4.977, allocations: 119.8 kB / 2.201 GB, free: 44.23 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/4.977, allocations: 55.98 kB / 2.201 GB, free: 44.17 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/4.977, allocations: 8 kB / 2.201 GB, free: 44.16 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001909/4.979, allocations: 1.046 MB / 2.202 GB, free: 43.11 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.034e-05/4.979, allocations: 15.95 kB / 2.202 GB, free: 43.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/4.979, allocations: 20 kB / 2.202 GB, free: 43.08 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008489/4.98, allocations: 244.1 kB / 2.203 GB, free: 42.84 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.579e-05/4.98, allocations: 31.92 kB / 2.203 GB, free: 42.81 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/4.981, allocations: 111.4 kB / 2.203 GB, free: 42.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/4.981, allocations: 55.98 kB / 2.203 GB, free: 42.65 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 122 * 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.0009956/4.982, allocations: 493.2 kB / 2.203 GB, free: 42.16 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003363/4.983, allocations: 173.8 kB / 2.203 GB, free: 41.98 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002444/4.985, allocations: 1.097 MB / 2.204 GB, free: 40.86 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/4.985, allocations: 16 kB / 2.204 GB, free: 40.84 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/4.985, allocations: 0 / 2.204 GB, free: 40.84 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001486/4.987, allocations: 0.9514 MB / 2.205 GB, free: 39.82 MB / 0.6667 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 postOpt removeSimpleEquations (simulation): time 0.00437/4.991, allocations: 2.271 MB / 2.208 GB, free: 37.49 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/4.991, allocations: 11.94 kB / 2.208 GB, free: 37.48 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000676/4.992, allocations: 127.8 kB / 2.208 GB, free: 37.36 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001533/4.992, allocations: 24.84 kB / 2.208 GB, free: 37.33 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.755e-05/4.992, allocations: 19.98 kB / 2.208 GB, free: 37.31 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000889/4.993, allocations: 1.303 MB / 2.209 GB, free: 35.88 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/4.993, allocations: 0 / 2.209 GB, free: 35.88 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00249/4.995, allocations: 1.472 MB / 2.211 GB, free: 34.37 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007767/4.996, allocations: 342.6 kB / 2.211 GB, free: 34.01 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004215/4.996, allocations: 23.95 kB / 2.211 GB, free: 33.99 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/4.998, allocations: 99.84 kB / 2.211 GB, free: 33.89 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/4.998, allocations: 48.48 kB / 2.211 GB, free: 33.84 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-05/4.998, allocations: 35.97 kB / 2.211 GB, free: 33.81 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001835/5, allocations: 1.114 MB / 2.212 GB, free: 32.67 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/5, allocations: 0 / 2.212 GB, free: 32.67 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004108/5.004, allocations: 1.01 MB / 2.213 GB, free: 31.66 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 58 * 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.00574/5.01, allocations: 3.284 MB / 2.216 GB, free: 28.62 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003009/5.013, allocations: 1.558 MB / 2.218 GB, free: 27.04 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/5.013, allocations: 0 / 2.218 GB, free: 27.04 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0009123/5.014, allocations: 498 kB / 2.218 GB, free: 26.54 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003788/5.017, allocations: 0.7522 MB / 2.219 GB, free: 25.8 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/5.027, allocations: 13.36 MB / 2.232 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/5.029, allocations: 1.411 MB / 2.233 GB, free: 10.6 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002033/5.031, allocations: 448.8 kB / 2.234 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000925/5.032, allocations: 0.7258 MB / 2.235 GB, free: 9.473 MB / 0.6667 GB Notification: Performance of SimCode: time 6.61e-07/5.032, allocations: 0 / 2.235 GB, free: 9.473 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4732/5.505, allocations: 54.22 MB / 2.288 GB, free: 91.96 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001742/5.505, allocations: 255.7 kB / 2.288 GB, free: 91.62 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.09/9.595, allocations: 3 kB / 2.288 GB, free: 91.62 MB / 0.6823 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)