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.002372/0.002372, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002774/0.002775, allocations: 186.9 kB / 16.25 MB, free: 6.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.715/2.715, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.356/5.356, allocations: 461.9 MB / 0.7344 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 67.03 kB / 0.8987 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3134, allocations: 157.4 MB / 1.052 GB, free: 8.652 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1623/0.4758, allocations: 160.7 MB / 1.209 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005019/0.4809, allocations: 3.455 MB / 1.213 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000547/0.4814, allocations: 15.94 kB / 1.213 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008149/0.4823, allocations: 250.9 kB / 1.213 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001886/0.4842, allocations: 0.8014 MB / 1.214 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.4853, allocations: 434.3 kB / 1.214 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001232/0.4865, allocations: 1.083 MB / 1.215 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004306/0.4869, allocations: 320.9 kB / 1.216 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006198/0.4876, allocations: 418.3 kB / 1.216 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008737/0.4885, allocations: 363.2 kB / 1.216 GB, free: 232 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.948e-05/0.4886, allocations: 40 kB / 1.216 GB, free: 192 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.4897, allocations: 0.7326 MB / 1.217 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001785/0.4899, allocations: 163.5 kB / 1.217 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000272/0.4902, allocations: 278.6 kB / 1.217 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.4913, allocations: 0.9698 MB / 1.218 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.4913, allocations: 0 / 1.218 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.696e-06/0.4914, allocations: 0 / 1.218 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.4914, allocations: 7.938 kB / 1.218 GB, free: 14.04 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.001346/0.4927, allocations: 0.8602 MB / 1.219 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.4928, allocations: 12.62 kB / 1.219 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.65e-05/0.4929, allocations: 62.53 kB / 1.219 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.4939, allocations: 159.2 kB / 1.219 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006511/0.4945, allocations: 488.9 kB / 1.22 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.4946, allocations: 24.56 kB / 1.22 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.017e-05/0.4946, allocations: 28 kB / 1.22 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000511/0.4951, allocations: 319.6 kB / 1.22 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.4952, allocations: 7.984 kB / 1.22 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.4952, allocations: 12 kB / 1.22 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/0.4952, allocations: 12.56 kB / 1.22 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003738/0.4956, allocations: 218.1 kB / 1.221 GB, free: 11.76 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.001723/0.4973, allocations: 1.418 MB / 1.222 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003472/0.4977, allocations: 220.3 kB / 1.222 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.4979, allocations: 108.8 kB / 1.222 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.4979, allocations: 4 kB / 1.222 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002813/0.4982, allocations: 171.5 kB / 1.222 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=26): time 1.813e-06/0.4982, allocations: 0 / 1.222 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29): time 0.002717/0.5009, allocations: 1.095 MB / 1.223 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.501, allocations: 55.34 kB / 1.224 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004669/0.5015, allocations: 461.9 kB / 1.224 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.5015, allocations: 33.7 kB / 1.224 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.5017, allocations: 240.2 kB / 1.224 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.245e-05/0.5018, allocations: 94.64 kB / 1.224 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.5019, allocations: 81.97 kB / 1.224 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.502, allocations: 358.8 kB / 1.225 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.5023, allocations: 128.6 kB / 1.225 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002379/0.5025, allocations: 178.9 kB / 1.225 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004176/0.5029, allocations: 307.8 kB / 1.225 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.5029, allocations: 4 kB / 1.225 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009034/0.5038, allocations: 489.9 kB / 1.226 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.5039, allocations: 8 kB / 1.226 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.5039, allocations: 0 / 1.226 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003424/0.5042, allocations: 84.92 kB / 1.226 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.5045, allocations: 63.91 kB / 1.226 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/0.5062, allocations: 1.901 MB / 1.228 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003488/0.5065, allocations: 35.98 kB / 1.228 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.603e-05/0.5066, allocations: 15.98 kB / 1.228 GB, free: 3.824 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.0002035/0.5068, allocations: 193.6 kB / 1.228 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.276e-05/0.5069, allocations: 47.44 kB / 1.228 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.788e-05/0.507, allocations: 52.61 kB / 1.228 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.507, allocations: 4 kB / 1.228 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.507, allocations: 0 / 1.228 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.507, allocations: 0 / 1.228 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/0.5084, allocations: 0.9716 MB / 1.229 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.5084, allocations: 3.938 kB / 1.229 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003464/0.5088, allocations: 63.91 kB / 1.229 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002958/0.5091, allocations: 80.78 kB / 1.229 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/0.5091, allocations: 11.94 kB / 1.229 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001251/0.5104, allocations: 1.649 MB / 1.231 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5104, allocations: 0 / 1.231 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009427/0.5114, allocations: 0.5665 MB / 1.231 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/0.5115, allocations: 148.5 kB / 1.232 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.362e-05/0.5116, allocations: 12 kB / 1.232 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003539/0.512, allocations: 23.92 kB / 1.232 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.088e-05/0.512, allocations: 15.97 kB / 1.232 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/0.5121, allocations: 12 kB / 1.232 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003277/0.5124, allocations: 307.1 kB / 1.232 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5124, allocations: 4 kB / 1.232 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005162/0.5129, allocations: 128 kB / 1.232 GB, free: 15.3 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.002131/0.5151, allocations: 1.443 MB / 1.233 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007285/0.5158, allocations: 442.3 kB / 1.234 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5158, allocations: 0 / 1.234 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002883/0.5161, allocations: 246.9 kB / 1.234 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.5173, allocations: 241.5 kB / 1.234 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006034/0.5233, allocations: 4.337 MB / 1.239 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.5237, allocations: 0.858 MB / 1.239 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003426/0.524, allocations: 84.33 kB / 1.239 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002315/0.5243, allocations: 147.4 kB / 1.24 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of SimCode: time 6.01e-07/0.5243, allocations: 0 / 1.24 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.416/4.94, allocations: 12.64 MB / 1.252 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/4.94, allocations: 267.9 kB / 1.252 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.476/7.416, allocations: 0 / 1.252 GB, free: 194.5 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)