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.001523/0.001523, allocations: 105.4 kB / 15.7 MB, free: 24 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.001929/0.001929, allocations: 194.6 kB / 16.64 MB, free: 6.453 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.642/1.642, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.6204/0.6204, allocations: 95.48 MB / 365.3 MB, free: 9.84 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.001604/0.001604, allocations: 75.83 kB / 446.1 MB, free: 8.898 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3317, allocations: 69.07 MB / 0.5031 GB, free: 17.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.5624/0.8941, allocations: 177.9 MB / 0.6768 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003341/0.8975, allocations: 1.661 MB / 0.6784 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005631/0.8981, allocations: 20.12 kB / 0.6785 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008718/0.899, allocations: 251.4 kB / 0.6787 GB, free: 11.87 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.002677/0.9017, allocations: 0.9577 MB / 0.6796 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.9033, allocations: 0.5333 MB / 0.6802 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001309/0.9046, allocations: 0.9619 MB / 0.6811 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004365/0.9051, allocations: 271.9 kB / 0.6814 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.9061, allocations: 392.4 kB / 0.6817 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/0.9072, allocations: 327.6 kB / 0.682 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.979e-05/0.9073, allocations: 35.09 kB / 0.6821 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00238/0.9097, allocations: 0.9387 MB / 0.683 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001835/0.9099, allocations: 142.5 kB / 0.6831 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002658/0.9102, allocations: 245.6 kB / 0.6834 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001662/0.9118, allocations: 1.056 MB / 0.6844 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.9118, allocations: 4 kB / 0.6844 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9119, allocations: 0 / 0.6844 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.389e-05/0.9119, allocations: 0 / 0.6844 GB, free: 10.74 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.001527/0.9134, allocations: 0.8619 MB / 0.6852 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.9135, allocations: 19.8 kB / 0.6853 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000236/0.9137, allocations: 51.28 kB / 0.6853 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009564/0.9147, allocations: 0.4984 MB / 0.6858 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.9147, allocations: 21.47 kB / 0.6858 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.751e-05/0.9148, allocations: 24.28 kB / 0.6858 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005124/0.9153, allocations: 281.3 kB / 0.6861 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.9153, allocations: 0 / 0.6861 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.485e-05/0.9154, allocations: 9.375 kB / 0.6861 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.9154, allocations: 4.938 kB / 0.6861 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004552/0.9158, allocations: 268.4 kB / 0.6864 GB, free: 9.566 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.001867/0.9177, allocations: 1.337 MB / 0.6877 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005321/0.9183, allocations: 251.5 kB / 0.6879 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002538/0.9185, allocations: 137.4 kB / 0.688 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005532/0.9191, allocations: 453.7 kB / 0.6885 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003747/0.9195, allocations: 193.2 kB / 0.6887 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 2.114e-06/0.9195, allocations: 0 / 0.6887 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.005684/0.9252, allocations: 1.699 MB / 0.6903 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/0.9253, allocations: 56.66 kB / 0.6904 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005059/0.9258, allocations: 413.7 kB / 0.6908 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.208e-05/0.9258, allocations: 35.95 kB / 0.6908 GB, free: 7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/0.9261, allocations: 203.6 kB / 0.691 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.9262, allocations: 135.7 kB / 0.6911 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.9263, allocations: 73.23 kB / 0.6912 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002116/0.9265, allocations: 361.9 kB / 0.6915 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/0.9268, allocations: 136.5 kB / 0.6917 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000312/0.9271, allocations: 194.5 kB / 0.6919 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007283/0.9344, allocations: 1.419 MB / 0.6932 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.9344, allocations: 0 / 0.6932 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001128/0.9356, allocations: 0.5065 MB / 0.6937 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.9356, allocations: 6.844 kB / 0.6937 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.9356, allocations: 6.719 kB / 0.6938 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003748/0.936, allocations: 88.23 kB / 0.6938 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00042/0.9364, allocations: 88.31 kB / 0.6939 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002064/0.9385, allocations: 1.955 MB / 0.6958 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003034/0.9388, allocations: 15.53 kB / 0.6958 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.804e-05/0.9389, allocations: 11.31 kB / 0.6959 GB, free: 4.102 MB / 0.4981 GB Warning: Assuming fixed start value for the following 3 variables: vol.dynBal.medium.p:VARIABLE(flow=false min = 0.0 max = 1e8 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 = 0.0 max = 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 = 1.0 max = 1e4 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.000355/0.9392, allocations: 195.4 kB / 0.696 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.915e-05/0.9393, allocations: 50.33 kB / 0.6961 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/0.9405, allocations: 0.5165 MB / 0.6966 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.9405, allocations: 5.188 kB / 0.6966 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.9405, allocations: 0 / 0.6966 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.9405, allocations: 0 / 0.6966 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/0.9425, allocations: 1.192 MB / 0.6978 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.9425, allocations: 2.375 kB / 0.6978 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004181/0.9429, allocations: 79.7 kB / 0.6978 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003071/0.9432, allocations: 78.84 kB / 0.6979 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.629e-05/0.9433, allocations: 18.14 kB / 0.6979 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001453/0.9447, allocations: 1.658 MB / 0.6996 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.9447, allocations: 2.75 kB / 0.6996 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.946, allocations: 0.7317 MB / 0.7003 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000185/0.9462, allocations: 156.7 kB / 0.7004 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.52e-05/0.9463, allocations: 13.69 kB / 0.7004 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003254/0.9466, allocations: 15.58 kB / 0.7005 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.225e-05/0.9467, allocations: 28.19 kB / 0.7005 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.059e-05/0.9468, allocations: 18.17 kB / 0.7005 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003208/0.9471, allocations: 296.5 kB / 0.7008 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9471, allocations: 0 / 0.7008 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007927/0.9479, allocations: 227.9 kB / 0.701 GB, free: 0.7773 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.001342/0.9492, allocations: 0.6001 MB / 0.7016 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001013/0.9503, allocations: 0.4942 MB / 0.7021 GB, free: 204 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.9503, allocations: 0 / 0.7021 GB, free: 204 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004206/0.9507, allocations: 313.8 kB / 0.7024 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.9518, allocations: 259.5 kB / 0.7026 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.9539, allocations: 1.062 MB / 0.7036 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.9544, allocations: 0.8359 MB / 0.7045 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003786/0.9548, allocations: 100 kB / 0.7046 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.9549, allocations: 44.75 kB / 0.7046 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of SimCode: time 7.01e-07/0.9549, allocations: 4 kB / 0.7046 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of Templates: time 0.02144/0.9763, allocations: 11.79 MB / 0.7161 GB, free: 5.207 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)