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.001091/0.001091, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001348/0.001348, allocations: 191.5 kB / 16.13 MB, free: 6.668 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.567/1.567, allocations: 205.1 MB / 222 MB, free: 4.777 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.6177/0.6177, allocations: 95.48 MB / 364.8 MB, free: 10.06 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.002028/0.002028, allocations: 63.91 kB / 444.7 MB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.4214, allocations: 69.08 MB / 0.5017 GB, free: 17.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.5772/0.9986, allocations: 176.1 MB / 0.6737 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003794/1.002, allocations: 1.718 MB / 0.6753 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000539/1.003, allocations: 18.06 kB / 0.6754 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000999/1.004, allocations: 226.9 kB / 0.6756 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00308/1.007, allocations: 0.8809 MB / 0.6764 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001552/1.009, allocations: 0.4926 MB / 0.6769 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001319/1.01, allocations: 1.25 MB / 0.6781 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003265/1.01, allocations: 236.1 kB / 0.6784 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005681/1.011, allocations: 343.2 kB / 0.6787 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009044/1.012, allocations: 322.5 kB / 0.679 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.852e-05/1.012, allocations: 15.41 kB / 0.679 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002303/1.014, allocations: 1.053 MB / 0.68 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002231/1.015, allocations: 126.4 kB / 0.6802 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003522/1.015, allocations: 224.2 kB / 0.6804 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001868/1.017, allocations: 1.086 MB / 0.6814 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/1.017, allocations: 0 / 0.6814 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.302e-06/1.017, allocations: 0 / 0.6814 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.566e-06/1.017, allocations: 0 / 0.6814 GB, free: 9.867 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.001757/1.019, allocations: 0.8619 MB / 0.6823 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/1.019, allocations: 14.36 kB / 0.6823 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002759/1.019, allocations: 55.08 kB / 0.6823 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008785/1.02, allocations: 484.8 kB / 0.6828 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/1.02, allocations: 17 kB / 0.6828 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.135e-05/1.02, allocations: 32.27 kB / 0.6829 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005889/1.021, allocations: 273.6 kB / 0.6831 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/1.021, allocations: 7.938 kB / 0.6831 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.622e-05/1.021, allocations: 9.219 kB / 0.6831 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/1.021, allocations: 7.812 kB / 0.6831 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004803/1.021, allocations: 265.2 kB / 0.6834 GB, free: 8.715 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.00204/1.023, allocations: 1.339 MB / 0.6847 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005724/1.024, allocations: 253.9 kB / 0.6849 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002463/1.024, allocations: 135.3 kB / 0.6851 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005719/1.025, allocations: 455.5 kB / 0.6855 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004037/1.025, allocations: 196.7 kB / 0.6857 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 1.994e-06/1.025, allocations: 1.203 kB / 0.6857 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.005792/1.031, allocations: 1.697 MB / 0.6874 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/1.031, allocations: 57.09 kB / 0.6874 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004522/1.031, allocations: 409.2 kB / 0.6878 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.699e-05/1.031, allocations: 31.45 kB / 0.6878 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000146/1.032, allocations: 209.7 kB / 0.688 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/1.032, allocations: 136.4 kB / 0.6882 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/1.032, allocations: 69.47 kB / 0.6882 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000143/1.032, allocations: 361.4 kB / 0.6886 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/1.032, allocations: 139.7 kB / 0.6887 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002776/1.032, allocations: 190 kB / 0.6889 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007106/1.04, allocations: 1.423 MB / 0.6903 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/1.04, allocations: 1.953 kB / 0.6903 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001175/1.041, allocations: 0.507 MB / 0.6908 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/1.041, allocations: 4.969 kB / 0.6908 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/1.041, allocations: 6.5 kB / 0.6908 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003867/1.041, allocations: 81.42 kB / 0.6909 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004271/1.042, allocations: 90.64 kB / 0.6909 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002237/1.044, allocations: 1.76 MB / 0.6927 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004564/1.044, allocations: 33.36 kB / 0.6927 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.737e-05/1.044, allocations: 17.45 kB / 0.6927 GB, free: 3.418 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.0004937/1.045, allocations: 214.9 kB / 0.6929 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/1.045, allocations: 46.44 kB / 0.693 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/1.046, allocations: 0.5324 MB / 0.6935 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/1.046, allocations: 4.719 kB / 0.6935 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/1.046, allocations: 0 / 0.6935 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/1.046, allocations: 6.516 kB / 0.6935 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002008/1.048, allocations: 1.165 MB / 0.6946 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/1.048, allocations: 0 / 0.6946 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004328/1.049, allocations: 89 kB / 0.6947 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000323/1.049, allocations: 81.31 kB / 0.6948 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.831e-05/1.049, allocations: 11.84 kB / 0.6948 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001526/1.051, allocations: 1.538 MB / 0.6963 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.051, allocations: 3.984 kB / 0.6963 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/1.052, allocations: 0.7326 MB / 0.697 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002806/1.052, allocations: 158.9 kB / 0.6972 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.503e-05/1.053, allocations: 17.55 kB / 0.6972 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003523/1.053, allocations: 20.67 kB / 0.6972 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/1.053, allocations: 36.33 kB / 0.6972 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-05/1.053, allocations: 17.3 kB / 0.6973 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004399/1.054, allocations: 294.6 kB / 0.6975 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/1.054, allocations: 0 / 0.6975 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001056/1.055, allocations: 232.1 kB / 0.6978 GB, free: 0.582 MB / 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.001527/1.056, allocations: 0.5835 MB / 0.6983 GB, free: 336 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001207/1.057, allocations: 0.4952 MB / 0.6988 GB, free: 44 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/1.057, allocations: 0 / 0.6988 GB, free: 44 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005022/1.058, allocations: 311.4 kB / 0.6991 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/1.059, allocations: 241.8 kB / 0.6993 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002754/1.062, allocations: 1.209 MB / 0.7005 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006257/1.063, allocations: 0.8397 MB / 0.7013 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004974/1.063, allocations: 96.56 kB / 0.7014 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/1.063, allocations: 47.33 kB / 0.7015 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of SimCode: time 9.62e-07/1.063, allocations: 0 / 0.7015 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of Templates: time 0.02048/1.084, allocations: 11.42 MB / 0.7126 GB, free: 5.895 MB / 0.5137 GB make -j1 -f Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.makefile (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)