Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System2,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_Boiler_System2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System2,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_Boiler_System2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.481/2.481, allocations: 390.3 MB / 0.6653 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003548, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8453/0.8457, allocations: 142.3 MB / 0.9536 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System2): time 0.2159/1.062, allocations: 175.5 MB / 1.125 GB, free: 284 kB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02739/1.089, allocations: 15.36 MB / 1.14 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003987/1.093, allocations: 75.5 kB / 1.14 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.004837/1.098, allocations: 1.089 MB / 1.141 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01191/1.11, allocations: 3.069 MB / 1.144 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.008131/1.118, allocations: 2.354 MB / 1.146 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0107/1.129, allocations: 5.809 MB / 1.152 GB, free: 4.496 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005137/1.134, allocations: 2.866 MB / 1.155 GB, free: 1.59 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008119/1.142, allocations: 2.445 MB / 1.157 GB, free: 15.14 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005331/1.148, allocations: 1.933 MB / 1.159 GB, free: 13.2 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001166/1.149, allocations: 148 kB / 1.159 GB, free: 13.05 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006473/1.155, allocations: 1.475 MB / 1.161 GB, free: 11.57 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001876/1.157, allocations: 0.833 MB / 1.162 GB, free: 10.74 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001934/1.159, allocations: 0.7693 MB / 1.162 GB, free: 9.961 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.008257/1.167, allocations: 5.085 MB / 1.167 GB, free: 4.863 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/1.167, allocations: 0 / 1.167 GB, free: 4.863 MB / 0.92 GB Notification: Performance of FrontEnd: time 4.097e-06/1.167, allocations: 4 kB / 1.167 GB, free: 4.859 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0002097/1.168, allocations: 0 / 1.167 GB, free: 4.859 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 585 * Number of variables: 585 Notification: Performance of Generate backend data structure: time 0.009424/1.177, allocations: 3.809 MB / 1.171 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/1.177, allocations: 8.031 kB / 1.171 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008845/1.178, allocations: 340.8 kB / 1.171 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00627/1.184, allocations: 1.053 MB / 1.172 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01033/1.195, allocations: 3.611 MB / 1.176 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002115/1.195, allocations: 193.1 kB / 1.176 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000708/1.196, allocations: 243.9 kB / 1.176 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005897/1.202, allocations: 3.184 MB / 1.179 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.266e-05/1.202, allocations: 7.938 kB / 1.179 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002472/1.202, allocations: 99.78 kB / 1.179 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001747/1.202, allocations: 96.36 kB / 1.18 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005318/1.207, allocations: 2.749 MB / 1.182 GB, free: 5.16 MB / 0.9356 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.02469/1.232, allocations: 13.58 MB / 1.196 GB, free: 6.93 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003474/1.236, allocations: 2.156 MB / 1.198 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01243/1.248, allocations: 4.743 MB / 1.202 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001959/1.25, allocations: 0.9578 MB / 1.203 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001477/1.252, allocations: 198.1 kB / 1.203 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=130): time 3.918e-06/1.252, allocations: 3.938 kB / 1.203 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of matching and sorting (n=133): time 0.01371/1.265, allocations: 5.516 MB / 1.209 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/1.265, allocations: 64.72 kB / 1.209 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005237/1.271, allocations: 3.195 MB / 1.212 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0004625/1.271, allocations: 65.7 kB / 1.212 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001738/1.273, allocations: 1.525 MB / 1.213 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000603/1.273, allocations: 473.3 kB / 1.214 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/1.274, allocations: 40 kB / 1.214 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0003074/1.274, allocations: 389.9 kB / 1.214 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002341/1.276, allocations: 0.9954 MB / 1.215 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002604/1.279, allocations: 1.549 MB / 1.217 GB, free: 272 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00307/1.282, allocations: 1.216 MB / 1.218 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.17e-05/1.282, allocations: 4 kB / 1.218 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.01471/1.297, allocations: 3.747 MB / 1.222 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.003059/1.3, allocations: 6.599 MB / 1.228 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.173e-05/1.3, allocations: 19.95 kB / 1.228 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00708/1.307, allocations: 1.184 MB / 1.229 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002416/1.309, allocations: 491.2 kB / 1.23 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006706/1.316, allocations: 3.249 MB / 1.233 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00425/1.32, allocations: 280 kB / 1.233 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004258/1.321, allocations: 108.1 kB / 1.233 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/1.321, allocations: 4 kB / 1.233 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01261/1.333, allocations: 3.398 MB / 1.237 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.442e-05/1.334, allocations: 16 kB / 1.237 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007679/1.341, allocations: 1.227 MB / 1.238 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002208/1.344, allocations: 463.3 kB / 1.238 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009703/1.353, allocations: 3.323 MB / 1.242 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005052/1.358, allocations: 256.1 kB / 1.242 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005523/1.359, allocations: 95.97 kB / 1.242 GB, free: 5.836 MB / 0.9981 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 (238): * Single equations (assignments): 235 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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 {5 6} Notification: Performance of prepare postOptimizeDAE: time 0.003234/1.362, allocations: 1.094 MB / 1.243 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001254/1.363, allocations: 300.3 kB / 1.243 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005641/1.369, allocations: 2.34 MB / 1.246 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.517e-05/1.369, allocations: 23.98 kB / 1.246 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/1.369, allocations: 7.953 kB / 1.246 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.7376/2.107, allocations: 2.009 MB / 1.248 GB, free: 275.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01427/2.121, allocations: 5.239 MB / 1.253 GB, free: 274 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/2.121, allocations: 1.844 kB / 1.253 GB, free: 274 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001598/2.123, allocations: 307.7 kB / 1.253 GB, free: 273.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001035/2.124, allocations: 302 kB / 1.253 GB, free: 273.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001419/2.124, allocations: 51.56 kB / 1.253 GB, free: 273.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006282/2.13, allocations: 8.774 MB / 1.262 GB, free: 265.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/2.13, allocations: 6.844 kB / 1.262 GB, free: 265.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008576/2.139, allocations: 3.335 MB / 1.265 GB, free: 264.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002817/2.142, allocations: 0.6721 MB / 1.266 GB, free: 264.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009927/2.143, allocations: 40.67 kB / 1.266 GB, free: 264 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002662/2.145, allocations: 182.3 kB / 1.266 GB, free: 264 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002834/2.146, allocations: 108.5 kB / 1.266 GB, free: 264 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001844/2.146, allocations: 71.17 kB / 1.266 GB, free: 264 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004655/2.151, allocations: 2.179 MB / 1.268 GB, free: 263.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.81e-07/2.151, allocations: 1.031 kB / 1.268 GB, free: 263.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.01023/2.161, allocations: 1.612 MB / 1.27 GB, free: 263.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.s[1],pumRad.filter.s[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 (139): * Single equations (assignments): 125 * 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.01257/2.173, allocations: 4.882 MB / 1.275 GB, free: 260.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01535/2.189, allocations: 4.43 MB / 1.279 GB, free: 259 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.54e-05/2.189, allocations: 5.562 kB / 1.279 GB, free: 259 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003127/2.192, allocations: 1.602 MB / 1.281 GB, free: 257.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009998/2.202, allocations: 1.657 MB / 1.282 GB, free: 257.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02706/2.229, allocations: 20.07 MB / 1.302 GB, free: 240.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003163/2.232, allocations: 2.443 MB / 1.304 GB, free: 238.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.005676/2.238, allocations: 1.13 MB / 1.305 GB, free: 238.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00283/2.241, allocations: 1.342 MB / 1.307 GB, free: 236.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.393e-06/2.241, allocations: 3.938 kB / 1.307 GB, free: 236.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1571/2.398, allocations: 98.98 MB / 1.403 GB, free: 139.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001951/2.398, allocations: 237.9 kB / 1.403 GB, free: 139.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.173/7.571, allocations: 7.938 kB / 1.403 GB, free: 139.4 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.Boiler.System2_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_Boiler_System2_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_Boiler_System2.fmu > Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.Tutorial.Boiler.System2_res.mat does not exist to compare? outputFormat=mat