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.001905/0.001905, 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.002791/0.002791, allocations: 192.8 kB / 16.25 MB, free: 6.621 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.591/1.591, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.6101/0.6101, allocations: 95.47 MB / 364.9 MB, free: 10.04 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.001304/0.001304, allocations: 63.91 kB / 444.8 MB, free: 9.961 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3608, allocations: 69.07 MB / 0.5019 GB, free: 17.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.5982/0.9591, allocations: 175.8 MB / 0.6736 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004077/0.9632, allocations: 1.706 MB / 0.6752 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001115/0.9645, allocations: 19.59 kB / 0.6753 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000975/0.9655, allocations: 219.8 kB / 0.6755 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003331/0.9688, allocations: 0.8931 MB / 0.6763 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002109/0.971, allocations: 0.5005 MB / 0.6768 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002052/0.973, allocations: 0.9577 MB / 0.6778 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000559/0.9736, allocations: 271.2 kB / 0.678 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009503/0.9746, allocations: 393.7 kB / 0.6784 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009118/0.9755, allocations: 342.1 kB / 0.6787 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.481e-05/0.9756, allocations: 39.28 kB / 0.6788 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002267/0.9778, allocations: 0.9673 MB / 0.6797 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001965/0.9781, allocations: 146.9 kB / 0.6799 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002992/0.9784, allocations: 244.7 kB / 0.6801 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00221/0.9806, allocations: 1.095 MB / 0.6812 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.9806, allocations: 0 / 0.6812 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.9806, allocations: 0 / 0.6812 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.9806, allocations: 0 / 0.6812 GB, free: 10.31 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.001925/0.9826, allocations: 0.8609 MB / 0.682 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.166e-05/0.9826, allocations: 14.39 kB / 0.682 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002611/0.9829, allocations: 50.69 kB / 0.6821 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008217/0.9837, allocations: 495.4 kB / 0.6825 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.9838, allocations: 21.56 kB / 0.6826 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.338e-05/0.9838, allocations: 28.31 kB / 0.6826 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005353/0.9844, allocations: 273.1 kB / 0.6828 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.9844, allocations: 3.938 kB / 0.6828 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.9845, allocations: 9.719 kB / 0.6829 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.9845, allocations: 7.062 kB / 0.6829 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000457/0.9849, allocations: 267.6 kB / 0.6831 GB, free: 9.156 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.001804/0.9867, allocations: 1.337 MB / 0.6844 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005141/0.9873, allocations: 256.1 kB / 0.6847 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002436/0.9875, allocations: 145.3 kB / 0.6848 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005577/0.9881, allocations: 450.3 kB / 0.6852 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003766/0.9885, allocations: 189.1 kB / 0.6854 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 3.827e-06/0.9885, allocations: 0 / 0.6854 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.006001/0.9945, allocations: 1.703 MB / 0.6871 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.9946, allocations: 53.53 kB / 0.6871 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004959/0.9951, allocations: 412.2 kB / 0.6875 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.763e-05/0.9951, allocations: 40.27 kB / 0.6876 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.9953, allocations: 208 kB / 0.6878 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.9954, allocations: 132.6 kB / 0.6879 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.9955, allocations: 73.36 kB / 0.688 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.9957, allocations: 353.6 kB / 0.6883 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002448/0.996, allocations: 136.9 kB / 0.6884 GB, free: 6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003036/0.9963, allocations: 201.1 kB / 0.6886 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007196/1.004, allocations: 1.422 MB / 0.69 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/1.004, allocations: 0 / 0.69 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001243/1.005, allocations: 0.4995 MB / 0.6905 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/1.005, allocations: 6.938 kB / 0.6905 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/1.005, allocations: 7.938 kB / 0.6905 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003572/1.005, allocations: 85.39 kB / 0.6906 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004135/1.006, allocations: 82.11 kB / 0.6907 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002009/1.008, allocations: 1.955 MB / 0.6926 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000461/1.008, allocations: 28.25 kB / 0.6926 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.516e-05/1.008, allocations: 14.77 kB / 0.6926 GB, free: 3.695 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.0004778/1.009, allocations: 216.3 kB / 0.6928 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/1.009, allocations: 50.44 kB / 0.6929 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/1.01, allocations: 0.5275 MB / 0.6934 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/1.01, allocations: 5.812 kB / 0.6934 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/1.01, allocations: 2.875 kB / 0.6934 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/1.01, allocations: 0 / 0.6934 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001963/1.012, allocations: 1.172 MB / 0.6945 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/1.012, allocations: 0 / 0.6945 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004216/1.012, allocations: 81.44 kB / 0.6946 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000307/1.013, allocations: 81.22 kB / 0.6947 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.611e-05/1.013, allocations: 11.69 kB / 0.6947 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00153/1.014, allocations: 1.653 MB / 0.6963 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/1.014, allocations: 6.562 kB / 0.6963 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/1.016, allocations: 0.7377 MB / 0.697 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002916/1.016, allocations: 159.4 kB / 0.6972 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.626e-05/1.016, allocations: 19.73 kB / 0.6972 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003414/1.016, allocations: 18.55 kB / 0.6972 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.267e-05/1.017, allocations: 26.12 kB / 0.6973 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.455e-05/1.017, allocations: 21.28 kB / 0.6973 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004074/1.017, allocations: 295.6 kB / 0.6976 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/1.017, allocations: 0 / 0.6976 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001112/1.018, allocations: 228.3 kB / 0.6978 GB, free: 0.6953 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.001601/1.02, allocations: 0.5732 MB / 0.6983 GB, free: 452 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001315/1.021, allocations: 0.5311 MB / 0.6989 GB, free: 120 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/1.021, allocations: 0 / 0.6989 GB, free: 120 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003943/1.022, allocations: 303 kB / 0.6991 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/1.023, allocations: 270.9 kB / 0.6994 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/1.025, allocations: 1.21 MB / 0.7006 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005204/1.026, allocations: 0.8417 MB / 0.7014 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004905/1.026, allocations: 94 kB / 0.7015 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/1.026, allocations: 48.45 kB / 0.7015 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of SimCode: time 2.044e-06/1.027, allocations: 4 kB / 0.7015 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of Templates: time 0.02408/1.051, allocations: 11.76 MB / 0.713 GB, free: 5.48 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)