Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_Boiler_System2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_Boiler_System2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.516/1.516, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 190.1 kB / 326.5 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.822/1.822, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008501/0.0008501, allocations: 86.38 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000372/0.000372, allocations: 11.94 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2414, allocations: 106.3 MB / 0.9001 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System2): time 0.772/1.013, allocations: 175.6 MB / 1.072 GB, free: 2.98 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.03315/1.047, allocations: 17.65 MB / 1.089 GB, free: 2.797 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006116/1.053, allocations: 67.12 kB / 1.089 GB, free: 2.797 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.006345/1.059, allocations: 1.134 MB / 1.09 GB, free: 2.793 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01372/1.073, allocations: 3.017 MB / 1.093 GB, free: 2.758 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01353/1.087, allocations: 3.191 MB / 1.096 GB, free: 2.684 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01187/1.098, allocations: 5.792 MB / 1.102 GB, free: 2.664 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005653/1.104, allocations: 2.867 MB / 1.105 GB, free: 18.28 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007206/1.111, allocations: 2.445 MB / 1.107 GB, free: 18.27 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005494/1.117, allocations: 1.929 MB / 1.109 GB, free: 18.27 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.001075/1.118, allocations: 146.4 kB / 1.109 GB, free: 18.27 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007275/1.125, allocations: 1.553 MB / 1.11 GB, free: 18.27 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.002402/1.128, allocations: 0.8321 MB / 1.111 GB, free: 18.27 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.003227/1.131, allocations: 0.7756 MB / 1.112 GB, free: 18.23 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.01067/1.142, allocations: 5.122 MB / 1.117 GB, free: 17.09 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/1.142, allocations: 3.938 kB / 1.117 GB, free: 17.09 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.068e-06/1.142, allocations: 0 / 1.117 GB, free: 17.09 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002414/1.142, allocations: 0 / 1.117 GB, free: 17.09 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.0122/1.154, allocations: 3.826 MB / 1.121 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/1.154, allocations: 9 kB / 1.121 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001464/1.156, allocations: 336.5 kB / 1.121 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006142/1.162, allocations: 0.9565 MB / 1.122 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01174/1.174, allocations: 3.487 MB / 1.125 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003025/1.174, allocations: 186.6 kB / 1.126 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001261/1.175, allocations: 252.2 kB / 1.126 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009264/1.185, allocations: 3.145 MB / 1.129 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001174/1.185, allocations: 10.42 kB / 1.129 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000366/1.185, allocations: 96.56 kB / 1.129 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001588/1.185, allocations: 105.6 kB / 1.129 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005621/1.191, allocations: 2.628 MB / 1.132 GB, free: 11.42 MB / 0.7136 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.02746/1.218, allocations: 13.47 MB / 1.145 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003538/1.222, allocations: 2.178 MB / 1.147 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01289/1.235, allocations: 4.687 MB / 1.152 GB, free: 304 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001615/1.237, allocations: 0.9043 MB / 1.152 GB, free: 20 kB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001887/1.239, allocations: 199 kB / 1.153 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=130): time 5.39e-06/1.239, allocations: 0 / 1.153 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=134): time 0.01316/1.252, allocations: 5.51 MB / 1.158 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/1.252, allocations: 149.2 kB / 1.158 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007403/1.259, allocations: 3.166 MB / 1.161 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000788/1.26, allocations: 63.36 kB / 1.161 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001807/1.262, allocations: 1.518 MB / 1.163 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008935/1.263, allocations: 478.2 kB / 1.163 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/1.263, allocations: 38.78 kB / 1.163 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001961/1.263, allocations: 392.1 kB / 1.164 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002325/1.266, allocations: 0.9774 MB / 1.165 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002725/1.268, allocations: 1.575 MB / 1.166 GB, free: 9.68 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002472/1.271, allocations: 1.215 MB / 1.167 GB, free: 8.902 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/1.271, allocations: 4 kB / 1.167 GB, free: 8.898 MB / 0.7292 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.009276/1.28, allocations: 3.38 MB / 1.171 GB, free: 6.414 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.002826/1.283, allocations: 6.591 MB / 1.177 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.054e-05/1.283, allocations: 16 kB / 1.177 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006998/1.29, allocations: 1.18 MB / 1.178 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002671/1.293, allocations: 0.4982 MB / 1.179 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006213/1.299, allocations: 3.161 MB / 1.182 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004912/1.304, allocations: 267.2 kB / 1.182 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006068/1.305, allocations: 108.8 kB / 1.182 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/1.305, allocations: 4 kB / 1.182 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007879/1.313, allocations: 3.039 MB / 1.185 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.167e-05/1.313, allocations: 16.97 kB / 1.185 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006884/1.32, allocations: 1.208 MB / 1.186 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00253/1.322, allocations: 491.5 kB / 1.187 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006344/1.328, allocations: 3.17 MB / 1.19 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004531/1.333, allocations: 255.1 kB / 1.19 GB, free: 3.961 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007184/1.334, allocations: 100.2 kB / 1.19 GB, free: 3.879 MB / 0.7448 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.003369/1.337, allocations: 1.079 MB / 1.191 GB, free: 3.168 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001546/1.339, allocations: 304.2 kB / 1.192 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006341/1.345, allocations: 2.34 MB / 1.194 GB, free: 1.215 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/1.345, allocations: 12 kB / 1.194 GB, free: 1.203 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.561e-05/1.345, allocations: 4 kB / 1.194 GB, free: 1.199 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003412/1.349, allocations: 2.008 MB / 1.196 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01296/1.362, allocations: 5.196 MB / 1.201 GB, free: 12.03 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/1.362, allocations: 0 / 1.201 GB, free: 12.03 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00145/1.363, allocations: 294.2 kB / 1.201 GB, free: 11.76 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001171/1.364, allocations: 335.3 kB / 1.202 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001553/1.364, allocations: 52.66 kB / 1.202 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008138/1.373, allocations: 9.154 MB / 1.211 GB, free: 2.426 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/1.373, allocations: 4 kB / 1.211 GB, free: 2.422 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007509/1.38, allocations: 3.327 MB / 1.214 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003161/1.383, allocations: 0.6587 MB / 1.214 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001455/1.385, allocations: 37.11 kB / 1.214 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003227/1.388, allocations: 187.4 kB / 1.215 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003361/1.389, allocations: 118.9 kB / 1.215 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002761/1.389, allocations: 61.58 kB / 1.215 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.005407/1.394, allocations: 2.167 MB / 1.217 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.51e-07/1.394, allocations: 0 / 1.217 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.01086/1.405, allocations: 1.655 MB / 1.219 GB, free: 12.04 MB / 0.7761 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.01144/1.417, allocations: 4.947 MB / 1.223 GB, free: 8.188 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01412/1.431, allocations: 4.323 MB / 1.228 GB, free: 4.926 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.9e-05/1.431, allocations: 448 / 1.228 GB, free: 4.922 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.003003/1.434, allocations: 1.627 MB / 1.229 GB, free: 3.547 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0107/1.445, allocations: 1.662 MB / 1.231 GB, free: 2.156 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03066/1.475, allocations: 20.01 MB / 1.25 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004572/1.48, allocations: 2.448 MB / 1.253 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.00634/1.486, allocations: 1.113 MB / 1.254 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003314/1.49, allocations: 1.336 MB / 1.255 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of SimCode: time 2.525e-06/1.49, allocations: 0 / 1.255 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1936/1.683, allocations: 100.3 MB / 1.353 GB, free: 7.43 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002214/1.684, allocations: 254.3 kB / 1.353 GB, free: 7.094 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.918/7.602, allocations: 7.938 kB / 1.353 GB, free: 7.086 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_Tutorial_Boiler_System2_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_Tutorial_Boiler_System2.fmu > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1)