Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_latest_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.001383/0.001383, allocations: 108 kB / 15.6 MB, free: 128 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.001464/0.001464, allocations: 197.1 kB / 16.53 MB, free: 6.672 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.359/1.359, 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 11.0.1-master/package.mo): time 2.655/2.655, allocations: 461.9 MB / 0.7346 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 64.75 kB / 0.8992 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2961, allocations: 157.4 MB / 1.053 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1607/0.4569, allocations: 162.9 MB / 1.212 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005442/0.4623, allocations: 3.482 MB / 1.215 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006393/0.463, allocations: 19.88 kB / 1.215 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009557/0.464, allocations: 278.5 kB / 1.216 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002468/0.4665, allocations: 0.8593 MB / 1.217 GB, free: 112 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.468, allocations: 470.1 kB / 1.217 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001719/0.4697, allocations: 1.091 MB / 1.218 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007307/0.4705, allocations: 324.1 kB / 1.218 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008624/0.4713, allocations: 406.4 kB / 1.219 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/0.4724, allocations: 353.7 kB / 1.219 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001353/0.4725, allocations: 40 kB / 1.219 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001549/0.4741, allocations: 0.6938 MB / 1.22 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002483/0.4743, allocations: 167.5 kB / 1.22 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003935/0.4747, allocations: 270.6 kB / 1.22 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001595/0.4763, allocations: 0.9231 MB / 1.221 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.4764, allocations: 0 / 1.221 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.976e-06/0.4764, allocations: 4 kB / 1.221 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.445e-05/0.4764, allocations: 3.938 kB / 1.221 GB, free: 11.4 MB / 0.9825 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.00159/0.478, allocations: 0.8719 MB / 1.222 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.4781, allocations: 8.625 kB / 1.222 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.476e-05/0.4781, allocations: 66.55 kB / 1.222 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/0.4792, allocations: 151.2 kB / 1.222 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006957/0.4799, allocations: 496.9 kB / 1.223 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.48, allocations: 20.56 kB / 1.223 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.19e-05/0.48, allocations: 32 kB / 1.223 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005356/0.4806, allocations: 319.6 kB / 1.223 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.4806, allocations: 4 kB / 1.223 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.4806, allocations: 12 kB / 1.223 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.4807, allocations: 8.562 kB / 1.223 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004283/0.4811, allocations: 230 kB / 1.223 GB, free: 9.098 MB / 0.9825 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.001793/0.4829, allocations: 1.414 MB / 1.225 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003682/0.4833, allocations: 224.3 kB / 1.225 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.4835, allocations: 108.8 kB / 1.225 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.4835, allocations: 4 kB / 1.225 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002748/0.4838, allocations: 179.5 kB / 1.225 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=26): time 1.764e-06/0.4838, allocations: 4 kB / 1.225 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29): time 0.00275/0.4866, allocations: 1.084 MB / 1.226 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.4866, allocations: 59.34 kB / 1.226 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005078/0.4871, allocations: 461.9 kB / 1.227 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/0.4872, allocations: 29.7 kB / 1.227 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.4873, allocations: 240.2 kB / 1.227 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.788e-05/0.4874, allocations: 102.6 kB / 1.227 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.4876, allocations: 77.97 kB / 1.227 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.4877, allocations: 350.8 kB / 1.227 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002288/0.4879, allocations: 128.7 kB / 1.228 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/0.4882, allocations: 186.8 kB / 1.228 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004334/0.4886, allocations: 303.9 kB / 1.228 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4886, allocations: 0 / 1.228 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009427/0.4896, allocations: 489.8 kB / 1.229 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.4896, allocations: 8 kB / 1.229 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.4896, allocations: 0 / 1.229 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003394/0.49, allocations: 84.95 kB / 1.229 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/0.4902, allocations: 63.91 kB / 1.229 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001645/0.4919, allocations: 1.909 MB / 1.231 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003312/0.4922, allocations: 27.98 kB / 1.231 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/0.4923, allocations: 8 kB / 1.231 GB, free: 1.176 MB / 0.9825 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.0002106/0.4925, allocations: 191.4 kB / 1.231 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.211e-05/0.4926, allocations: 43.52 kB / 1.231 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.63e-05/0.4927, allocations: 56.62 kB / 1.231 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.4927, allocations: 4 kB / 1.231 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4927, allocations: 0 / 1.231 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.4927, allocations: 0 / 1.231 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.4942, allocations: 0.98 MB / 1.232 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4942, allocations: 7.875 kB / 1.232 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003581/0.4946, allocations: 59.97 kB / 1.232 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003032/0.4949, allocations: 84.78 kB / 1.232 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.061e-05/0.495, allocations: 11.94 kB / 1.232 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001358/0.4963, allocations: 1.641 MB / 1.234 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.4963, allocations: 4.031 kB / 1.234 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.4974, allocations: 0.566 MB / 1.234 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002202/0.4976, allocations: 152.6 kB / 1.234 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.769e-05/0.4977, allocations: 12 kB / 1.234 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00036/0.4981, allocations: 16.95 kB / 1.234 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/0.4982, allocations: 19.97 kB / 1.234 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.832e-05/0.4982, allocations: 12 kB / 1.234 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003648/0.4986, allocations: 307.1 kB / 1.235 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.21e-07/0.4986, allocations: 0 / 1.235 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005494/0.4991, allocations: 131.9 kB / 1.235 GB, free: 12.65 MB / 0.9981 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.00221/0.5014, allocations: 1.433 MB / 1.236 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007626/0.5021, allocations: 438.6 kB / 1.237 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.5021, allocations: 0 / 1.237 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000309/0.5025, allocations: 254.5 kB / 1.237 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.5036, allocations: 250 kB / 1.237 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005744/0.5093, allocations: 4.174 MB / 1.241 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004075/0.5098, allocations: 0.8541 MB / 1.242 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003675/0.5101, allocations: 84.31 kB / 1.242 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/0.5104, allocations: 151.4 kB / 1.242 GB, free: 5 MB / 0.9981 GB Notification: Performance of SimCode: time 4.41e-07/0.5104, allocations: 0 / 1.242 GB, free: 5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4841/0.9944, allocations: 12.76 MB / 1.255 GB, free: 193 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.278/10.27, allocations: 8.078 kB / 1.255 GB, free: 193 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)