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.001181/0.001181, allocations: 108 kB / 15.6 MB, free: 132 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.001203/0.001203, allocations: 192 kB / 16.53 MB, free: 6.391 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.192/1.192, allocations: 205.1 MB / 222.4 MB, free: 4.566 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.389/1.389, allocations: 251.7 MB / 0.5092 GB, free: 3.137 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.00131/0.00131, allocations: 71.89 kB / 0.6223 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3728, allocations: 104.7 MB / 0.7245 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1423/0.5152, allocations: 163 MB / 0.8837 GB, free: 9.34 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.003965/0.5192, allocations: 3.311 MB / 0.8869 GB, free: 6.023 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002545/0.5195, allocations: 19.88 kB / 0.8869 GB, free: 6.004 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0006371/0.5201, allocations: 278.5 kB / 0.8872 GB, free: 5.73 MB / 0.7012 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.001428/0.5216, allocations: 0.8555 MB / 0.888 GB, free: 4.871 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007294/0.5223, allocations: 446.4 kB / 0.8884 GB, free: 4.438 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0009682/0.5233, allocations: 1.138 MB / 0.8896 GB, free: 3.297 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003369/0.5236, allocations: 342 kB / 0.8899 GB, free: 2.957 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004497/0.5241, allocations: 418.4 kB / 0.8903 GB, free: 2.547 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007028/0.5248, allocations: 355.8 kB / 0.8906 GB, free: 2.203 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 6.684e-05/0.5249, allocations: 40 kB / 0.8907 GB, free: 2.164 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009231/0.5258, allocations: 0.6859 MB / 0.8913 GB, free: 1.477 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.526, allocations: 171.5 kB / 0.8915 GB, free: 1.309 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0002258/0.5262, allocations: 278.7 kB / 0.8918 GB, free: 1.035 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0009198/0.5271, allocations: 0.9309 MB / 0.8927 GB, free: 104 kB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.5272, allocations: 0 / 0.8927 GB, free: 104 kB / 0.7012 GB Notification: Performance of FrontEnd: time 1.123e-06/0.5272, allocations: 4 kB / 0.8927 GB, free: 100 kB / 0.7012 GB Notification: Performance of Transformations before backend: time 8.295e-06/0.5272, allocations: 0 / 0.8927 GB, free: 100 kB / 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.001179/0.5284, allocations: 0.8642 MB / 0.8935 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.5284, allocations: 8.031 kB / 0.8935 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00091/0.5293, allocations: 147.2 kB / 0.8937 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005619/0.5299, allocations: 488.9 kB / 0.8941 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.5299, allocations: 24.66 kB / 0.8942 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.936e-05/0.53, allocations: 35.88 kB / 0.8942 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004846/0.5305, allocations: 328.9 kB / 0.8945 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.5305, allocations: 0 / 0.8945 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.012e-05/0.5305, allocations: 19.98 kB / 0.8945 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.5306, allocations: 8.562 kB / 0.8945 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003641/0.5309, allocations: 222.1 kB / 0.8947 GB, free: 13.88 MB / 0.7169 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.001605/0.5325, allocations: 1.422 MB / 0.8961 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003322/0.5329, allocations: 217.4 kB / 0.8963 GB, free: 12.1 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.5331, allocations: 108.8 kB / 0.8964 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.5331, allocations: 3.938 kB / 0.8964 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000255/0.5333, allocations: 171.7 kB / 0.8966 GB, free: 11.81 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=26): time 1.473e-06/0.5334, allocations: 0 / 0.8966 GB, free: 11.81 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30): time 0.00255/0.5359, allocations: 1.155 MB / 0.8977 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.536, allocations: 51.41 kB / 0.8978 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004171/0.5364, allocations: 465.8 kB / 0.8982 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.5364, allocations: 33.7 kB / 0.8983 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.5366, allocations: 236.2 kB / 0.8985 GB, free: 9.797 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.524e-05/0.5366, allocations: 98.55 kB / 0.8986 GB, free: 9.699 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.5368, allocations: 82.03 kB / 0.8987 GB, free: 9.613 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.5369, allocations: 362.8 kB / 0.899 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.5371, allocations: 128.8 kB / 0.8991 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.5373, allocations: 202.1 kB / 0.8993 GB, free: 8.906 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004055/0.5377, allocations: 316.8 kB / 0.8996 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.5377, allocations: 0 / 0.8996 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008518/0.5386, allocations: 493.2 kB / 0.9001 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.5386, allocations: 4 kB / 0.9001 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.5386, allocations: 8.156 kB / 0.9001 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003169/0.539, allocations: 80.8 kB / 0.9002 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002642/0.5392, allocations: 75.84 kB / 0.9003 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001705/0.5409, allocations: 1.955 MB / 0.9022 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002872/0.5412, allocations: 19.36 kB / 0.9022 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.958e-05/0.5413, allocations: 16 kB / 0.9022 GB, free: 5.797 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.0001809/0.5415, allocations: 197.6 kB / 0.9024 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.337e-05/0.5415, allocations: 43.44 kB / 0.9024 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.198e-05/0.5416, allocations: 60.56 kB / 0.9025 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.5416, allocations: 4 kB / 0.9025 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.5417, allocations: 0 / 0.9025 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.5417, allocations: 0 / 0.9025 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.543, allocations: 1.017 MB / 0.9035 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.5431, allocations: 0 / 0.9035 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003635/0.5434, allocations: 71.91 kB / 0.9036 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002668/0.5437, allocations: 76.81 kB / 0.9036 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/0.5437, allocations: 19.92 kB / 0.9036 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001165/0.5449, allocations: 1.641 MB / 0.9052 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.5449, allocations: 4 kB / 0.9053 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008912/0.5458, allocations: 0.5952 MB / 0.9058 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.546, allocations: 152.6 kB / 0.906 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.48e-05/0.546, allocations: 12 kB / 0.906 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003257/0.5464, allocations: 15.98 kB / 0.906 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.854e-05/0.5464, allocations: 19.97 kB / 0.906 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/0.5465, allocations: 15.98 kB / 0.906 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002742/0.5468, allocations: 299.1 kB / 0.9063 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5468, allocations: 0 / 0.9063 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004378/0.5472, allocations: 124 kB / 0.9064 GB, free: 1.191 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.0008634/0.5481, allocations: 442.2 kB / 0.9069 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008695/0.549, allocations: 486.6 kB / 0.9073 GB, free: 436 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.549, allocations: 0 / 0.9073 GB, free: 436 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002717/0.5492, allocations: 242.6 kB / 0.9076 GB, free: 180 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2737/0.823, allocations: 237.7 kB / 0.9078 GB, free: 183.9 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.8247, allocations: 1.03 MB / 0.9088 GB, free: 183.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.825, allocations: 0.8556 MB / 0.9096 GB, free: 182.8 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0003409/0.8253, allocations: 83.86 kB / 0.9097 GB, free: 182.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.141e-05/0.8254, allocations: 38.45 kB / 0.9097 GB, free: 182.8 MB / 0.7169 GB Notification: Performance of SimCode: time 5.91e-07/0.8254, allocations: 0 / 0.9097 GB, free: 182.8 MB / 0.7169 GB Notification: Performance of Templates: time 0.01449/0.8399, allocations: 8.878 MB / 0.9184 GB, free: 180.6 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)