Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0009081/0.000908, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009325/0.0009327, allocations: 190.3 kB / 16.25 MB, free: 6.617 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.149/1.149, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.299/1.299, allocations: 251.6 MB / 0.5089 GB, free: 3.281 MB / 414.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: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 63.91 kB / 0.6217 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3641, allocations: 104.7 MB / 0.724 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1331/0.4973, allocations: 160.8 MB / 0.881 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.004894/0.5022, allocations: 3.279 MB / 0.8842 GB, free: 8.43 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003957/0.5026, allocations: 27.81 kB / 0.8842 GB, free: 8.402 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0007401/0.5034, allocations: 242.9 kB / 0.8844 GB, free: 8.164 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.00156/0.505, allocations: 0.8054 MB / 0.8852 GB, free: 7.355 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.000818/0.5059, allocations: 421.6 kB / 0.8856 GB, free: 6.949 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0009864/0.5069, allocations: 1.134 MB / 0.8867 GB, free: 5.812 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003623/0.5072, allocations: 338.1 kB / 0.8871 GB, free: 5.477 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005171/0.5078, allocations: 422.3 kB / 0.8875 GB, free: 5.062 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006972/0.5085, allocations: 373.6 kB / 0.8878 GB, free: 4.699 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 5.797e-05/0.5085, allocations: 43.94 kB / 0.8879 GB, free: 4.656 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009916/0.5095, allocations: 0.7131 MB / 0.8886 GB, free: 3.941 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.5097, allocations: 171.5 kB / 0.8887 GB, free: 3.773 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0002275/0.5099, allocations: 278.6 kB / 0.889 GB, free: 3.5 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0009268/0.5109, allocations: 0.9854 MB / 0.8899 GB, free: 2.512 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.5109, allocations: 0 / 0.8899 GB, free: 2.512 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5109, allocations: 0 / 0.8899 GB, free: 2.512 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.5109, allocations: 0 / 0.8899 GB, free: 2.512 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001166/0.5121, allocations: 0.8525 MB / 0.8908 GB, free: 1.609 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.5121, allocations: 8.031 kB / 0.8908 GB, free: 1.602 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009482/0.5131, allocations: 155.2 kB / 0.8909 GB, free: 1.449 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005947/0.5137, allocations: 488.9 kB / 0.8914 GB, free: 0.9297 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.5137, allocations: 24.66 kB / 0.8914 GB, free: 0.9062 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.595e-05/0.5138, allocations: 35.98 kB / 0.8915 GB, free: 0.8711 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004903/0.5143, allocations: 328.8 kB / 0.8918 GB, free: 0.5391 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.5143, allocations: 0 / 0.8918 GB, free: 0.5391 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/0.5143, allocations: 12 kB / 0.8918 GB, free: 0.5273 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.251e-05/0.5144, allocations: 12.55 kB / 0.8918 GB, free: 0.5156 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003599/0.5147, allocations: 222.1 kB / 0.892 GB, free: 304 kB / 0.7012 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.001566/0.5163, allocations: 1.422 MB / 0.8934 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003311/0.5166, allocations: 214.9 kB / 0.8936 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.5168, allocations: 108.8 kB / 0.8937 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.5168, allocations: 11.88 kB / 0.8937 GB, free: 14.4 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002646/0.5171, allocations: 164.8 kB / 0.8939 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=26): time 1.462e-06/0.5171, allocations: 0 / 0.8939 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30): time 0.002611/0.5197, allocations: 1.148 MB / 0.895 GB, free: 13.03 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.5198, allocations: 55.41 kB / 0.895 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00041/0.5202, allocations: 457.9 kB / 0.8955 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.5202, allocations: 33.7 kB / 0.8955 GB, free: 12.47 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.5204, allocations: 232.2 kB / 0.8957 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.72e-05/0.5205, allocations: 110.5 kB / 0.8958 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.5206, allocations: 78.03 kB / 0.8959 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.5207, allocations: 354.7 kB / 0.8963 GB, free: 11.69 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.5209, allocations: 132.8 kB / 0.8964 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.5211, allocations: 194.1 kB / 0.8966 GB, free: 11.35 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000394/0.5215, allocations: 320.8 kB / 0.8969 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.5215, allocations: 4 kB / 0.8969 GB, free: 11.01 MB / 0.7169 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008322/0.5224, allocations: 493.3 kB / 0.8973 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.5224, allocations: 11.94 kB / 0.8974 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.5224, allocations: 0 / 0.8974 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003236/0.5227, allocations: 92.89 kB / 0.8974 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/0.523, allocations: 71.91 kB / 0.8975 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001675/0.5247, allocations: 1.951 MB / 0.8994 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003166/0.525, allocations: 35.92 kB / 0.8995 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/0.525, allocations: 12 kB / 0.8995 GB, free: 8.211 MB / 0.7169 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 (42): * Single equations (assignments): 41 * 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 {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000188/0.5252, allocations: 199.6 kB / 0.8997 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.33e-05/0.5253, allocations: 47.44 kB / 0.8997 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.493e-05/0.5254, allocations: 56.56 kB / 0.8998 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.5254, allocations: 4 kB / 0.8998 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.5254, allocations: 0 / 0.8998 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.5254, allocations: 0 / 0.8998 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.5268, allocations: 1.02 MB / 0.9008 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.5268, allocations: 4 kB / 0.9008 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003623/0.5272, allocations: 63.95 kB / 0.9008 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002679/0.5274, allocations: 84.77 kB / 0.9009 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/0.5275, allocations: 16.11 kB / 0.9009 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001136/0.5286, allocations: 1.653 MB / 0.9025 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5286, allocations: 8 kB / 0.9025 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008741/0.5295, allocations: 0.5753 MB / 0.9031 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.5297, allocations: 164.4 kB / 0.9033 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.801e-05/0.5297, allocations: 19.98 kB / 0.9033 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003397/0.5301, allocations: 15.98 kB / 0.9033 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.545e-05/0.5301, allocations: 19.97 kB / 0.9033 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-05/0.5302, allocations: 8 kB / 0.9033 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002687/0.5304, allocations: 307.1 kB / 0.9036 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.703e-06/0.5305, allocations: 0 / 0.9036 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004389/0.5309, allocations: 127.9 kB / 0.9037 GB, free: 3.578 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (27): * Single equations (assignments): 24 * 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.0008326/0.5317, allocations: 438.9 kB / 0.9041 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008428/0.5326, allocations: 470.7 kB / 0.9046 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5326, allocations: 4 kB / 0.9046 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002614/0.5329, allocations: 251.4 kB / 0.9048 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000974/0.5339, allocations: 241 kB / 0.9051 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.5353, allocations: 1.19 MB / 0.9062 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.5356, allocations: 0.8503 MB / 0.9071 GB, free: 252 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002861/0.5359, allocations: 84.34 kB / 0.9071 GB, free: 164 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.224e-05/0.536, allocations: 43.42 kB / 0.9072 GB, free: 120 kB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.536, allocations: 0 / 0.9072 GB, free: 120 kB / 0.7169 GB Notification: Performance of Templates: time 0.2972/0.8332, allocations: 8.844 MB / 0.9158 GB, free: 180.8 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)