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 1.71/1.71, allocations: 287.4 MB / 302.5 MB, free: 8.238 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.001006/0.001007, allocations: 188.9 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.554/1.554, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0008585/0.0008585, allocations: 106.7 kB / 0.7431 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003946/0.0003946, allocations: 14.22 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2295, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System2): time 0.6933/0.9229, allocations: 190.6 MB / 1.165 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.02951/0.9524, allocations: 18.5 MB / 1.183 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003786/0.9563, allocations: 72.78 kB / 1.183 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.003746/0.9601, allocations: 0.8992 MB / 1.184 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.009529/0.9696, allocations: 2.633 MB / 1.186 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.009962/0.9796, allocations: 2.811 MB / 1.189 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01403/0.9936, allocations: 11.45 MB / 1.2 GB, free: 6.465 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005708/0.9994, allocations: 3.187 MB / 1.204 GB, free: 4.625 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007437/1.007, allocations: 2.843 MB / 1.206 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006277/1.013, allocations: 2.68 MB / 1.209 GB, free: 424 kB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.001449/1.015, allocations: 148 kB / 1.209 GB, free: 276 kB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006763/1.022, allocations: 1.595 MB / 1.211 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.002319/1.024, allocations: 0.8873 MB / 1.211 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.002448/1.026, allocations: 0.7693 MB / 1.212 GB, free: 13 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.008481/1.035, allocations: 5.222 MB / 1.217 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.055e-05/1.035, allocations: 4 kB / 1.217 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.545e-06/1.035, allocations: 7.938 kB / 1.217 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0002432/1.035, allocations: 0 / 1.217 GB, free: 7.758 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.009961/1.045, allocations: 3.805 MB / 1.221 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/1.045, allocations: 8.031 kB / 1.221 GB, free: 3.875 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001294/1.047, allocations: 328.9 kB / 1.221 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005966/1.053, allocations: 0.9594 MB / 1.222 GB, free: 2.578 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01019/1.063, allocations: 3.908 MB / 1.226 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003227/1.063, allocations: 193.1 kB / 1.226 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001236/1.064, allocations: 251.8 kB / 1.227 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00611/1.071, allocations: 3.192 MB / 1.23 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.814e-05/1.071, allocations: 7.938 kB / 1.23 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002409/1.071, allocations: 99.98 kB / 1.23 GB, free: 10.7 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001013/1.071, allocations: 104.4 kB / 1.23 GB, free: 10.6 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004663/1.076, allocations: 2.644 MB / 1.232 GB, free: 7.938 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.02174/1.097, allocations: 13.26 MB / 1.245 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003117/1.101, allocations: 2.167 MB / 1.248 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001423/1.102, allocations: 0.9486 MB / 1.248 GB, free: 6.832 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01062/1.113, allocations: 4.544 MB / 1.253 GB, free: 2.051 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001628/1.114, allocations: 0.9344 MB / 1.254 GB, free: 1.102 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00129/1.116, allocations: 174.5 kB / 1.254 GB, free: 0.9297 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=130): time 7.303e-06/1.116, allocations: 3.984 kB / 1.254 GB, free: 0.9258 MB / 0.7761 GB Notification: Performance of matching and sorting (n=134): time 0.01178/1.127, allocations: 5.49 MB / 1.259 GB, free: 11.26 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.426e-05/1.128, allocations: 141.8 kB / 1.259 GB, free: 11.09 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004181/1.132, allocations: 2.921 MB / 1.262 GB, free: 8.164 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0004334/1.132, allocations: 65.7 kB / 1.262 GB, free: 8.094 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001422/1.134, allocations: 1.521 MB / 1.264 GB, free: 6.559 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006005/1.134, allocations: 481.2 kB / 1.264 GB, free: 6.082 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/1.134, allocations: 44 kB / 1.264 GB, free: 6.039 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.000199/1.135, allocations: 385.9 kB / 1.265 GB, free: 5.656 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00213/1.137, allocations: 0.9877 MB / 1.266 GB, free: 4.664 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002436/1.139, allocations: 1.597 MB / 1.267 GB, free: 2.809 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003816/1.143, allocations: 2.388 MB / 1.27 GB, free: 212 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/1.143, allocations: 4 kB / 1.27 GB, free: 208 kB / 0.7917 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.00854/1.152, allocations: 3.396 MB / 1.273 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003821/1.152, allocations: 0.5548 MB / 1.273 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.297e-05/1.152, allocations: 19.98 kB / 1.273 GB, free: 12 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006495/1.159, allocations: 1.184 MB / 1.275 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002152/1.161, allocations: 475.2 kB / 1.275 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005492/1.166, allocations: 3.159 MB / 1.278 GB, free: 7.027 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00368/1.17, allocations: 240.2 kB / 1.278 GB, free: 6.793 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003473/1.17, allocations: 99.95 kB / 1.278 GB, free: 6.695 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/1.17, allocations: 6.5 kB / 1.278 GB, free: 6.691 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007258/1.178, allocations: 3.043 MB / 1.281 GB, free: 3.641 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.271e-05/1.178, allocations: 20 kB / 1.281 GB, free: 3.621 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00638/1.184, allocations: 1.216 MB / 1.283 GB, free: 2.398 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001961/1.186, allocations: 455.3 kB / 1.283 GB, free: 1.953 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005478/1.192, allocations: 3.159 MB / 1.286 GB, free: 14.64 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003347/1.195, allocations: 232.1 kB / 1.286 GB, free: 14.41 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00037/1.195, allocations: 103.9 kB / 1.287 GB, free: 14.31 MB / 0.823 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.002523/1.198, allocations: 1.091 MB / 1.288 GB, free: 13.21 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001074/1.199, allocations: 300.3 kB / 1.288 GB, free: 12.91 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005109/1.204, allocations: 2.297 MB / 1.29 GB, free: 10.58 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-05/1.204, allocations: 19.98 kB / 1.29 GB, free: 10.56 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/1.204, allocations: 0 / 1.29 GB, free: 10.56 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003374/1.208, allocations: 1.992 MB / 1.292 GB, free: 8.484 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.01035/1.218, allocations: 5.071 MB / 1.297 GB, free: 3.309 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/1.218, allocations: 0 / 1.297 GB, free: 3.309 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001456/1.219, allocations: 311.7 kB / 1.297 GB, free: 3.004 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008023/1.22, allocations: 264.9 kB / 1.298 GB, free: 2.727 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001441/1.22, allocations: 43.97 kB / 1.298 GB, free: 2.684 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006516/1.227, allocations: 8.672 MB / 1.306 GB, free: 9.223 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.227, allocations: 0 / 1.306 GB, free: 9.223 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006277/1.233, allocations: 3.206 MB / 1.309 GB, free: 5.965 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001786/1.235, allocations: 0.6025 MB / 1.31 GB, free: 5.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008512/1.236, allocations: 39.92 kB / 1.31 GB, free: 5.301 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002394/1.238, allocations: 164 kB / 1.31 GB, free: 5.141 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003013/1.239, allocations: 109.1 kB / 1.31 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002225/1.239, allocations: 71.94 kB / 1.31 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.003878/1.243, allocations: 1.975 MB / 1.312 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.2e-07/1.243, allocations: 0 / 1.312 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.006544/1.249, allocations: 1.594 MB / 1.314 GB, free: 1.402 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.008598/1.258, allocations: 4.526 MB / 1.318 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01299/1.271, allocations: 4.347 MB / 1.322 GB, free: 8.609 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.541e-05/1.271, allocations: 0.5625 kB / 1.322 GB, free: 8.609 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002781/1.274, allocations: 1.598 MB / 1.324 GB, free: 6.934 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009847/1.284, allocations: 1.66 MB / 1.326 GB, free: 5.285 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06044/1.344, allocations: 23.85 MB / 1.349 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002733/1.347, allocations: 2.381 MB / 1.351 GB, free: 9.492 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004917/1.352, allocations: 1.107 MB / 1.352 GB, free: 8.379 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002505/1.354, allocations: 1.319 MB / 1.353 GB, free: 7.059 MB / 0.8855 GB Notification: Performance of SimCode: time 9.82e-07/1.355, allocations: 0 / 1.353 GB, free: 7.059 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.407/5.761, allocations: 100.6 MB / 1.452 GB, free: 335.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001849/5.762, allocations: 244.4 kB / 1.452 GB, free: 335.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/16.08, allocations: 0 / 1.452 GB, free: 335.7 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)