Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 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: translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009828/0.0009828, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.01254/0.01255, allocations: 172 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.834/1.834, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6522/0.6522, allocations: 95.62 MB / 366.4 MB, free: 10.24 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000586/0.0005861, allocations: 16.7 kB / 447.5 MB, free: 8.977 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3547, allocations: 70.33 MB / 0.5057 GB, free: 16.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.6367/0.9915, allocations: 173.7 MB / 0.6753 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003946/0.9955, allocations: 1.702 MB / 0.677 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006092/0.9961, allocations: 14.75 kB / 0.677 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009184/0.9971, allocations: 224.7 kB / 0.6772 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003453/1.001, allocations: 0.8891 MB / 0.6781 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002029/1.003, allocations: 0.4913 MB / 0.6786 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002122/1.005, allocations: 1.242 MB / 0.6798 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004755/1.005, allocations: 222.5 kB / 0.68 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008392/1.006, allocations: 338 kB / 0.6803 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001065/1.007, allocations: 324.8 kB / 0.6806 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.725e-05/1.007, allocations: 13.78 kB / 0.6806 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003011/1.01, allocations: 1.041 MB / 0.6817 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002093/1.01, allocations: 125.3 kB / 0.6818 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000301/1.011, allocations: 239.7 kB / 0.682 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001889/1.013, allocations: 1.07 MB / 0.6831 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/1.013, allocations: 3.938 kB / 0.6831 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.334e-06/1.013, allocations: 0 / 0.6831 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.945e-06/1.013, allocations: 4 kB / 0.6831 GB, free: 9.5 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001729/1.014, allocations: 0.7792 MB / 0.6838 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.684e-05/1.014, allocations: 12.98 kB / 0.6838 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002919/1.015, allocations: 53.78 kB / 0.6839 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/1.016, allocations: 487.6 kB / 0.6844 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.493e-05/1.016, allocations: 23.03 kB / 0.6844 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.492e-05/1.016, allocations: 23.72 kB / 0.6844 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005842/1.017, allocations: 273.4 kB / 0.6847 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.325e-05/1.017, allocations: 7.891 kB / 0.6847 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.699e-05/1.017, allocations: 14.5 kB / 0.6847 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/1.017, allocations: 8.188 kB / 0.6847 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004538/1.017, allocations: 268.2 kB / 0.6849 GB, free: 8.363 MB / 0.4981 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.002071/1.019, allocations: 1.334 MB / 0.6862 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005994/1.02, allocations: 249.5 kB / 0.6865 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002699/1.02, allocations: 143.7 kB / 0.6866 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006642/1.021, allocations: 458.1 kB / 0.6871 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004141/1.021, allocations: 186.2 kB / 0.6872 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 2.866e-06/1.021, allocations: 2.938 kB / 0.6872 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.006009/1.027, allocations: 1.706 MB / 0.6889 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/1.027, allocations: 58.03 kB / 0.689 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004979/1.028, allocations: 406.2 kB / 0.6893 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.439e-05/1.028, allocations: 36.3 kB / 0.6894 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/1.028, allocations: 210.9 kB / 0.6896 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/1.028, allocations: 139.3 kB / 0.6897 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.918e-05/1.028, allocations: 35.45 kB / 0.6897 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001694/1.028, allocations: 357.5 kB / 0.6901 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/1.029, allocations: 140 kB / 0.6902 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002932/1.029, allocations: 188.4 kB / 0.6904 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007475/1.037, allocations: 1.505 MB / 0.6919 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/1.037, allocations: 2.438 kB / 0.6919 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001097/1.038, allocations: 0.509 MB / 0.6924 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/1.038, allocations: 6.25 kB / 0.6924 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/1.038, allocations: 10.59 kB / 0.6924 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003651/1.038, allocations: 81.45 kB / 0.6925 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003983/1.038, allocations: 86.14 kB / 0.6925 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002049/1.041, allocations: 1.763 MB / 0.6943 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003922/1.041, allocations: 33.95 kB / 0.6943 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-05/1.041, allocations: 14.14 kB / 0.6943 GB, free: 3.066 MB / 0.4981 GB Warning: Assuming fixed start value for the following 3 variables: vol.dynBal.medium.p:VARIABLE(flow=false min = max(0.0, 0.0) max = 100000000.0 start = vol.dynBal.p_start unit = "Pa" fixed = true nominal = 101325.0 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real vol.dynBal.medium.Xi[1]:VARIABLE(flow=false min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))) max = min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, 1.0))))) start = 0.01 unit = "1" fixed = true nominal = 0.01 stateSelect=StateSelect.prefer protected = true ) "Structurally independent mass fractions" type: Real [1] vol.dynBal.medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = vol.dynBal.T_start unit = "K" fixed = true nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.timTab.nextTimeEvent,$whenCondition1,timTab.nextTimeEventScaled,$PRE.timTab.nextTimeEventScaled,timTab.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.0004315/1.041, allocations: 217.4 kB / 0.6945 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/1.042, allocations: 52.31 kB / 0.6946 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/1.043, allocations: 0.5265 MB / 0.6951 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/1.043, allocations: 2.875 kB / 0.6951 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/1.043, allocations: 3.344 kB / 0.6951 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/1.043, allocations: 3.984 kB / 0.6951 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002065/1.045, allocations: 1.165 MB / 0.6962 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/1.045, allocations: 3.312 kB / 0.6962 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004332/1.045, allocations: 77.83 kB / 0.6963 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003172/1.046, allocations: 75.73 kB / 0.6964 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-05/1.046, allocations: 16.48 kB / 0.6964 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001529/1.047, allocations: 1.555 MB / 0.6979 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.047, allocations: 0 / 0.6979 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/1.049, allocations: 0.7389 MB / 0.6986 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002476/1.049, allocations: 170.1 kB / 0.6988 GB, free: 420 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.19e-05/1.049, allocations: 10.19 kB / 0.6988 GB, free: 420 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003312/1.049, allocations: 18.72 kB / 0.6988 GB, free: 416 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.452e-05/1.049, allocations: 41.33 kB / 0.6989 GB, free: 392 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.664e-05/1.049, allocations: 18.64 kB / 0.6989 GB, free: 388 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000294/1.05, allocations: 297.6 kB / 0.6992 GB, free: 260 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.05, allocations: 0 / 0.6992 GB, free: 260 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007681/1.05, allocations: 225.7 kB / 0.6994 GB, free: 224 kB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (vol.dynBal.medium.p,vol.dynBal.medium.Xi[1],vol.dynBal.medium.T) * Number of discrete variables: 3 ($whenCondition1,timTab.nextTimeEvent,timTab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.nextTimeEvent,timTab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 35 * 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.001451/1.052, allocations: 0.5986 MB / 0.7 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00103/1.053, allocations: 0.505 MB / 0.7005 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/1.053, allocations: 0 / 0.7005 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004194/1.053, allocations: 299 kB / 0.7007 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/1.055, allocations: 242.8 kB / 0.701 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/1.057, allocations: 1.305 MB / 0.7023 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004954/1.058, allocations: 0.8374 MB / 0.7031 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004833/1.058, allocations: 93.62 kB / 0.7032 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/1.058, allocations: 45.02 kB / 0.7032 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of SimCode: time 3.9e-07/1.058, allocations: 0 / 0.7032 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of Templates: time 0.0214/1.08, allocations: 11.38 MB / 0.7143 GB, free: 7.41 MB / 0.5137 GB make -j1 -f Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) Environment - environmentSimulation: