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.785/2.785, allocations: 287.5 MB / 302.4 MB, free: 8.23 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.001667/0.001667, allocations: 182 kB / 371 MB, free: 10.87 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.297/2.297, allocations: 205.4 MB / 0.6297 GB, free: 10.63 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.001133/0.001132, allocations: 96.53 kB / 0.743 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006452/0.0006453, allocations: 9.875 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2142, allocations: 115.3 MB / 0.9784 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System2): time 0.9759/1.19, allocations: 190.6 MB / 1.165 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.04321/1.234, allocations: 18.51 MB / 1.183 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003852/1.237, allocations: 72.53 kB / 1.183 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.00488/1.242, allocations: 0.9061 MB / 1.184 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01232/1.255, allocations: 2.628 MB / 1.186 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01445/1.269, allocations: 2.819 MB / 1.189 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.02001/1.289, allocations: 11.37 MB / 1.2 GB, free: 6.676 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007183/1.296, allocations: 2.867 MB / 1.203 GB, free: 5.016 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008894/1.305, allocations: 2.839 MB / 1.206 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007582/1.313, allocations: 2.678 MB / 1.208 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.001634/1.315, allocations: 148 kB / 1.208 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00872/1.324, allocations: 1.599 MB / 1.21 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.002742/1.326, allocations: 0.8873 MB / 1.211 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.002756/1.329, allocations: 0.7693 MB / 1.212 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.01135/1.341, allocations: 5.22 MB / 1.217 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/1.341, allocations: 0 / 1.217 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.805e-06/1.341, allocations: 0 / 1.217 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0002066/1.341, allocations: 0 / 1.217 GB, free: 8.391 MB / 0.7448 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.0139/1.355, allocations: 3.848 MB / 1.22 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/1.355, allocations: 8.031 kB / 1.22 GB, free: 4.465 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001422/1.356, allocations: 342.8 kB / 1.221 GB, free: 4.121 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009916/1.366, allocations: 0.9554 MB / 1.222 GB, free: 3.16 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01478/1.381, allocations: 3.799 MB / 1.225 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000288/1.381, allocations: 185.1 kB / 1.226 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001008/1.382, allocations: 252 kB / 1.226 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01053/1.393, allocations: 3.2 MB / 1.229 GB, free: 11.51 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001022/1.393, allocations: 12.7 kB / 1.229 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004739/1.394, allocations: 99.98 kB / 1.229 GB, free: 11.4 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001709/1.394, allocations: 96.38 kB / 1.229 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009379/1.403, allocations: 2.645 MB / 1.232 GB, free: 8.641 MB / 0.7605 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.03819/1.441, allocations: 13.25 MB / 1.245 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006537/1.448, allocations: 2.166 MB / 1.247 GB, free: 8.492 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0028/1.451, allocations: 0.9436 MB / 1.248 GB, free: 7.547 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01887/1.47, allocations: 4.543 MB / 1.252 GB, free: 2.773 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003109/1.473, allocations: 0.9345 MB / 1.253 GB, free: 1.824 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001859/1.475, allocations: 174.5 kB / 1.253 GB, free: 1.652 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=130): time 6.392e-06/1.475, allocations: 0 / 1.253 GB, free: 1.652 MB / 0.7761 GB Notification: Performance of matching and sorting (n=134): time 0.02149/1.496, allocations: 5.489 MB / 1.259 GB, free: 11.98 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/1.497, allocations: 141.8 kB / 1.259 GB, free: 11.82 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007607/1.504, allocations: 2.925 MB / 1.262 GB, free: 8.879 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0005851/1.505, allocations: 69.62 kB / 1.262 GB, free: 8.805 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.002605/1.507, allocations: 1.529 MB / 1.263 GB, free: 7.262 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.001029/1.508, allocations: 477.2 kB / 1.264 GB, free: 6.789 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002598/1.509, allocations: 40 kB / 1.264 GB, free: 6.75 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002609/1.509, allocations: 389.9 kB / 1.264 GB, free: 6.363 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00412/1.513, allocations: 0.9877 MB / 1.265 GB, free: 5.371 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005024/1.518, allocations: 1.584 MB / 1.267 GB, free: 3.527 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004857/1.523, allocations: 1.228 MB / 1.268 GB, free: 2.297 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.038e-05/1.523, allocations: 4 kB / 1.268 GB, free: 2.293 MB / 0.7917 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.0168/1.54, allocations: 3.397 MB / 1.271 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005646/1.541, allocations: 0.5431 MB / 1.272 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.263e-05/1.541, allocations: 23.98 kB / 1.272 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01308/1.554, allocations: 1.18 MB / 1.273 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004177/1.558, allocations: 479.2 kB / 1.273 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01038/1.568, allocations: 3.147 MB / 1.276 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005698/1.574, allocations: 252.1 kB / 1.276 GB, free: 8.875 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005977/1.575, allocations: 99.95 kB / 1.277 GB, free: 8.777 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/1.575, allocations: 4 kB / 1.277 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01416/1.589, allocations: 3.046 MB / 1.28 GB, free: 5.719 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.686e-05/1.589, allocations: 20 kB / 1.28 GB, free: 5.699 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0127/1.602, allocations: 1.22 MB / 1.281 GB, free: 4.473 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003693/1.606, allocations: 455.3 kB / 1.281 GB, free: 4.027 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01005/1.616, allocations: 3.155 MB / 1.284 GB, free: 0.7148 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004995/1.621, allocations: 224.2 kB / 1.285 GB, free: 0.4961 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004809/1.621, allocations: 95.97 kB / 1.285 GB, free: 412 kB / 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.003416/1.625, allocations: 1.079 MB / 1.286 GB, free: 15.31 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001269/1.626, allocations: 320.2 kB / 1.286 GB, free: 14.99 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008488/1.635, allocations: 2.302 MB / 1.288 GB, free: 12.66 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.831e-05/1.635, allocations: 15.94 kB / 1.288 GB, free: 12.64 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/1.635, allocations: 4 kB / 1.288 GB, free: 12.64 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006487/1.641, allocations: 1.994 MB / 1.29 GB, free: 10.56 MB / 0.823 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.01683/1.658, allocations: 5.077 MB / 1.295 GB, free: 5.379 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/1.658, allocations: 0 / 1.295 GB, free: 5.379 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003088/1.661, allocations: 303.7 kB / 1.295 GB, free: 5.082 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001483/1.663, allocations: 272.9 kB / 1.296 GB, free: 4.797 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003715/1.663, allocations: 47.92 kB / 1.296 GB, free: 4.75 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0109/1.674, allocations: 8.653 MB / 1.304 GB, free: 11.31 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/1.674, allocations: 4.031 kB / 1.304 GB, free: 11.3 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01102/1.685, allocations: 3.212 MB / 1.307 GB, free: 8.043 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002489/1.688, allocations: 0.6024 MB / 1.308 GB, free: 7.418 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001084/1.689, allocations: 39.98 kB / 1.308 GB, free: 7.379 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004183/1.693, allocations: 160.1 kB / 1.308 GB, free: 7.223 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005536/1.694, allocations: 117.1 kB / 1.308 GB, free: 7.109 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000332/1.694, allocations: 68.05 kB / 1.308 GB, free: 7.043 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.005943/1.7, allocations: 1.975 MB / 1.31 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9.22e-07/1.7, allocations: 0 / 1.31 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.008749/1.709, allocations: 1.597 MB / 1.312 GB, free: 3.477 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 (140): * Single equations (assignments): 126 * 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%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01448/1.723, allocations: 4.518 MB / 1.316 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.02152/1.745, allocations: 4.344 MB / 1.32 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-05/1.745, allocations: 4.562 kB / 1.32 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004267/1.749, allocations: 1.597 MB / 1.322 GB, free: 9.012 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01476/1.764, allocations: 1.689 MB / 1.324 GB, free: 7.336 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09416/1.858, allocations: 23.85 MB / 1.347 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003869/1.862, allocations: 2.381 MB / 1.349 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.006909/1.869, allocations: 1.111 MB / 1.35 GB, free: 10.44 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003688/1.873, allocations: 1.319 MB / 1.352 GB, free: 9.117 MB / 0.8855 GB Notification: Performance of SimCode: time 1.463e-06/1.873, allocations: 3.938 kB / 1.352 GB, free: 9.113 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.14/3.013, allocations: 100.5 MB / 1.45 GB, free: 335.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002887/3.013, allocations: 255.6 kB / 1.45 GB, free: 335.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.062/10.07, allocations: 0 / 1.45 GB, free: 335.4 MB / 0.948 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)