Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System2,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_Tutorial_Boiler_System2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System2,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_Tutorial_Boiler_System2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.885/2.885, allocations: 287.3 MB / 302.3 MB, free: 8.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001539/0.001539, allocations: 171.2 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.118/2.118, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 91.3 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004863/0.0004864, allocations: 15.67 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2316, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System2): time 0.986/1.218, allocations: 175.5 MB / 1.15 GB, free: 9.109 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.04402/1.262, allocations: 17.68 MB / 1.167 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005/1.267, allocations: 70.72 kB / 1.167 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.006098/1.273, allocations: 1.132 MB / 1.168 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01644/1.289, allocations: 3.012 MB / 1.171 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.02262/1.312, allocations: 3.259 MB / 1.174 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.01837/1.331, allocations: 5.777 MB / 1.18 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008984/1.34, allocations: 2.873 MB / 1.183 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008033/1.348, allocations: 2.44 MB / 1.185 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005889/1.354, allocations: 1.934 MB / 1.187 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.001281/1.355, allocations: 148.5 kB / 1.187 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007947/1.363, allocations: 1.566 MB / 1.189 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.002358/1.365, allocations: 0.8409 MB / 1.189 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.002199/1.368, allocations: 0.7762 MB / 1.19 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0109/1.378, allocations: 5.157 MB / 1.195 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/1.379, allocations: 0 / 1.195 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.206e-06/1.379, allocations: 0 / 1.195 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001994/1.379, allocations: 0 / 1.195 GB, free: 10.52 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.01381/1.393, allocations: 3.834 MB / 1.199 GB, free: 7.586 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.896e-05/1.393, allocations: 11.97 kB / 1.199 GB, free: 7.574 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001614/1.394, allocations: 336.9 kB / 1.199 GB, free: 7.234 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01006/1.404, allocations: 0.9632 MB / 1.2 GB, free: 6.266 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01434/1.419, allocations: 3.488 MB / 1.204 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003371/1.419, allocations: 189.1 kB / 1.204 GB, free: 2.523 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001173/1.42, allocations: 251.9 kB / 1.204 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01049/1.431, allocations: 3.171 MB / 1.207 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001065/1.431, allocations: 5.891 kB / 1.207 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004656/1.432, allocations: 99.98 kB / 1.207 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001877/1.432, allocations: 112.3 kB / 1.207 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01034/1.442, allocations: 2.628 MB / 1.21 GB, free: 12.09 MB / 0.7448 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.04017/1.482, allocations: 13.49 MB / 1.223 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006248/1.489, allocations: 2.178 MB / 1.225 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02043/1.509, allocations: 4.714 MB / 1.23 GB, free: 6.727 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003368/1.513, allocations: 0.9265 MB / 1.231 GB, free: 5.785 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001999/1.515, allocations: 190.2 kB / 1.231 GB, free: 5.598 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=130): time 6.242e-06/1.515, allocations: 0 / 1.231 GB, free: 5.598 MB / 0.7605 GB Notification: Performance of matching and sorting (n=134): time 0.022/1.537, allocations: 5.523 MB / 1.236 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001388/1.537, allocations: 149.8 kB / 1.237 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008154/1.545, allocations: 3.17 MB / 1.24 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0006407/1.546, allocations: 65.7 kB / 1.24 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.002523/1.548, allocations: 1.521 MB / 1.241 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001091/1.549, allocations: 485.1 kB / 1.242 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003296/1.55, allocations: 39.98 kB / 1.242 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002982/1.55, allocations: 393.9 kB / 1.242 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004529/1.555, allocations: 0.9799 MB / 1.243 GB, free: 9.047 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005384/1.56, allocations: 1.572 MB / 1.245 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005032/1.565, allocations: 1.22 MB / 1.246 GB, free: 5.996 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.398e-05/1.565, allocations: 4 kB / 1.246 GB, free: 5.992 MB / 0.7761 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.02145/1.587, allocations: 3.384 MB / 1.249 GB, free: 2.59 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.005042/1.592, allocations: 6.587 MB / 1.255 GB, free: 11.56 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.849e-05/1.592, allocations: 16 kB / 1.255 GB, free: 11.55 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01347/1.605, allocations: 1.184 MB / 1.257 GB, free: 10.36 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004431/1.61, allocations: 0.4953 MB / 1.257 GB, free: 9.859 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01063/1.621, allocations: 3.171 MB / 1.26 GB, free: 6.527 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006315/1.627, allocations: 264 kB / 1.26 GB, free: 6.266 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007302/1.628, allocations: 104 kB / 1.261 GB, free: 6.164 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/1.628, allocations: 4 kB / 1.261 GB, free: 6.16 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01545/1.643, allocations: 3.039 MB / 1.264 GB, free: 3.113 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.294e-05/1.643, allocations: 20 kB / 1.264 GB, free: 3.094 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01354/1.657, allocations: 1.216 MB / 1.265 GB, free: 1.871 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004084/1.661, allocations: 483.2 kB / 1.265 GB, free: 1.398 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01067/1.672, allocations: 3.167 MB / 1.268 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005626/1.677, allocations: 244.2 kB / 1.269 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007565/1.678, allocations: 107.9 kB / 1.269 GB, free: 13.73 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$PRE.hysPum.y,hysPum.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (241): * Single equations (assignments): 236 * Array equations: 2 * Algorithm blocks: 0 * 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: 1 {(2,100.0%) 4} * Non-linear torn systems: 1 {4 7} Notification: Performance of prepare postOptimizeDAE: time 0.003641/1.682, allocations: 1.086 MB / 1.27 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00132/1.683, allocations: 300.3 kB / 1.27 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008908/1.692, allocations: 2.336 MB / 1.272 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.452e-05/1.692, allocations: 19.98 kB / 1.272 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/1.692, allocations: 4 kB / 1.272 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006828/1.699, allocations: 2.007 MB / 1.274 GB, free: 7.848 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0184/1.718, allocations: 5.206 MB / 1.279 GB, free: 2.535 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.02e-05/1.718, allocations: 8.031 kB / 1.279 GB, free: 2.527 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003105/1.721, allocations: 287.6 kB / 1.28 GB, free: 2.246 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002071/1.723, allocations: 340.7 kB / 1.28 GB, free: 1.895 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004182/1.723, allocations: 43.97 kB / 1.28 GB, free: 1.852 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01279/1.736, allocations: 9.161 MB / 1.289 GB, free: 7.898 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/1.736, allocations: 3.938 kB / 1.289 GB, free: 7.895 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01181/1.748, allocations: 3.332 MB / 1.292 GB, free: 4.473 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003023/1.751, allocations: 0.661 MB / 1.293 GB, free: 3.789 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001205/1.752, allocations: 39.98 kB / 1.293 GB, free: 3.75 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004582/1.757, allocations: 181.3 kB / 1.293 GB, free: 3.574 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006313/1.758, allocations: 117 kB / 1.293 GB, free: 3.461 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003277/1.758, allocations: 67.94 kB / 1.293 GB, free: 3.395 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.006665/1.765, allocations: 2.166 MB / 1.295 GB, free: 1.234 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.21e-07/1.765, allocations: 0 / 1.295 GB, free: 1.234 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01071/1.776, allocations: 1.656 MB / 1.297 GB, free: 15.57 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,pumRad.vol.dynBal.U,pumRad.filter.x[1],pumRad.filter.x[2]) * Number of discrete variables: 4 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,hysPum.y) * Number of discrete states: 3 (timTab.tab.nextTimeEvent,hysPum.y,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0155/1.791, allocations: 4.963 MB / 1.302 GB, free: 10.7 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.02184/1.813, allocations: 4.332 MB / 1.306 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/1.813, allocations: 0.5625 kB / 1.306 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.004822/1.818, allocations: 1.621 MB / 1.308 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01379/1.832, allocations: 1.667 MB / 1.309 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03242/1.864, allocations: 20.02 MB / 1.329 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004537/1.869, allocations: 2.443 MB / 1.331 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.007825/1.877, allocations: 1.118 MB / 1.332 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00411/1.881, allocations: 1.339 MB / 1.334 GB, free: 9.523 MB / 0.8698 GB Notification: Performance of SimCode: time 1.783e-06/1.881, allocations: 3.938 kB / 1.334 GB, free: 9.52 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2683/2.149, allocations: 100.7 MB / 1.432 GB, free: 5.344 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004138/2.15, allocations: 254 kB / 1.432 GB, free: 5.055 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.867/9.017, allocations: 4 kB / 1.432 GB, free: 5.051 MB / 0.9636 GB (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_Tutorial_Boiler_System2_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_Tutorial_Boiler_System2.fmu > Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1)