Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.System1,fileNamePrefix="Buildings_10_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_10_Buildings_Examples_Tutorial_Boiler_System1",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.001097/0.001097, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 193 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.561/2.561, allocations: 437 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 55.91 kB / 0.8693 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6591/0.6606, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1611/0.8218, allocations: 162.9 MB / 1.177 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005247/0.8271, allocations: 3.477 MB / 1.18 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005545/0.8276, allocations: 19.88 kB / 1.18 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0009706/0.8286, allocations: 278.4 kB / 1.18 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00285/0.8316, allocations: 0.8633 MB / 1.181 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001409/0.833, allocations: 478.5 kB / 1.181 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001361/0.8343, allocations: 1.087 MB / 1.183 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004354/0.8348, allocations: 328.1 kB / 1.183 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006494/0.8355, allocations: 402.4 kB / 1.183 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00107/0.8365, allocations: 346.3 kB / 1.184 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.729e-05/0.8366, allocations: 40 kB / 1.184 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/0.838, allocations: 0.6938 MB / 1.184 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001832/0.8382, allocations: 167.5 kB / 1.184 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002828/0.8385, allocations: 278.5 kB / 1.185 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001281/0.8398, allocations: 0.927 MB / 1.186 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.8398, allocations: 0 / 1.186 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.893e-06/0.8398, allocations: 0 / 1.186 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.8399, allocations: 0 / 1.186 GB, free: 5.594 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.00135/0.8412, allocations: 0.8679 MB / 1.186 GB, free: 4.672 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.8413, allocations: 12.03 kB / 1.186 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.403e-05/0.8413, allocations: 66.53 kB / 1.187 GB, free: 4.586 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.8424, allocations: 155.2 kB / 1.187 GB, free: 4.434 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006546/0.8431, allocations: 492.9 kB / 1.187 GB, free: 3.91 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.8431, allocations: 20.56 kB / 1.187 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.294e-05/0.8432, allocations: 35.89 kB / 1.187 GB, free: 3.855 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005153/0.8437, allocations: 315.7 kB / 1.188 GB, free: 3.535 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.8437, allocations: 4 kB / 1.188 GB, free: 3.531 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.302e-05/0.8437, allocations: 12 kB / 1.188 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.597e-05/0.8438, allocations: 16.55 kB / 1.188 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003977/0.8442, allocations: 226 kB / 1.188 GB, free: 3.281 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.001871/0.8461, allocations: 1.414 MB / 1.189 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003813/0.8465, allocations: 214.7 kB / 1.189 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.8467, allocations: 120.8 kB / 1.189 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.8467, allocations: 0 / 1.189 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00029/0.847, allocations: 168.3 kB / 1.19 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=26): time 1.773e-06/0.847, allocations: 0 / 1.19 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29): time 0.002729/0.8497, allocations: 1.084 MB / 1.191 GB, free: 80 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.8498, allocations: 63.34 kB / 1.191 GB, free: 4 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005048/0.8503, allocations: 465.9 kB / 1.191 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.8503, allocations: 33.7 kB / 1.191 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.8505, allocations: 240.2 kB / 1.191 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.209e-05/0.8506, allocations: 94.66 kB / 1.192 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.8507, allocations: 77.97 kB / 1.192 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.8509, allocations: 350.8 kB / 1.192 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.8511, allocations: 132.7 kB / 1.192 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/0.8514, allocations: 186.6 kB / 1.192 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004451/0.8518, allocations: 307.9 kB / 1.193 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.8518, allocations: 0 / 1.193 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009312/0.8528, allocations: 493.9 kB / 1.193 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.8528, allocations: 4 kB / 1.193 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.8528, allocations: 4 kB / 1.193 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003577/0.8532, allocations: 80.8 kB / 1.193 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.8534, allocations: 67.91 kB / 1.193 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/0.8552, allocations: 1.908 MB / 1.195 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003174/0.8556, allocations: 15.97 kB / 1.195 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.8556, allocations: 19.94 kB / 1.195 GB, free: 11.36 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002116/0.8558, allocations: 191.2 kB / 1.195 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.082e-05/0.8559, allocations: 47.44 kB / 1.195 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.58e-05/0.856, allocations: 56.69 kB / 1.195 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.856, allocations: 4 kB / 1.195 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.856, allocations: 0 / 1.195 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.856, allocations: 7.922 kB / 1.195 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/0.8575, allocations: 0.9685 MB / 1.196 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.8575, allocations: 0 / 1.196 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003545/0.8578, allocations: 59.97 kB / 1.196 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002875/0.8581, allocations: 80.69 kB / 1.196 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.129e-05/0.8582, allocations: 15.92 kB / 1.196 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001306/0.8595, allocations: 1.652 MB / 1.198 GB, free: 8.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.8595, allocations: 0 / 1.198 GB, free: 8.07 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009854/0.8605, allocations: 0.5738 MB / 1.199 GB, free: 7.477 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001759/0.8607, allocations: 144.7 kB / 1.199 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.129e-05/0.8608, allocations: 11.98 kB / 1.199 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003249/0.8611, allocations: 11.94 kB / 1.199 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.424e-05/0.8612, allocations: 19.97 kB / 1.199 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/0.8612, allocations: 11.98 kB / 1.199 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.00034/0.8615, allocations: 307.1 kB / 1.199 GB, free: 6.965 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8615, allocations: 0 / 1.199 GB, free: 6.965 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00052/0.8621, allocations: 128 kB / 1.199 GB, free: 6.84 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002089/0.8642, allocations: 1.441 MB / 1.201 GB, free: 5.527 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007583/0.8649, allocations: 434.6 kB / 1.201 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.865, allocations: 8.062 kB / 1.201 GB, free: 5.082 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002916/0.8653, allocations: 250.5 kB / 1.201 GB, free: 4.824 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.8664, allocations: 254.4 kB / 1.202 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005343/0.8717, allocations: 4.188 MB / 1.206 GB, free: 292 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.8721, allocations: 0.8504 MB / 1.206 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003378/0.8724, allocations: 88.33 kB / 1.207 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002035/0.8727, allocations: 151.4 kB / 1.207 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of SimCode: time 5.01e-07/0.8727, allocations: 0 / 1.207 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03388/0.9065, allocations: 12.76 MB / 1.219 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.355/10.26, allocations: 6.5 kB / 1.219 GB, free: 2.625 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Examples.Tutorial.Boiler.System1_res.mat --tempDir=temp_Buildings_10_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)