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.0009978/0.0009979, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001024/0.001024, allocations: 192.3 kB / 16.14 MB, free: 6.703 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.148/1.148, allocations: 205.1 MB / 222 MB, free: 4.758 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.331/1.331, allocations: 251.7 MB / 0.5088 GB, free: 3.332 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.001144/0.001144, allocations: 63.91 kB / 0.6216 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3603, allocations: 104.7 MB / 0.7238 GB, free: 13.19 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1422/0.5026, allocations: 160.7 MB / 0.8808 GB, free: 11.83 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.004278/0.5069, allocations: 3.336 MB / 0.884 GB, free: 8.484 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004197/0.5073, allocations: 19.94 kB / 0.884 GB, free: 8.465 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0007395/0.5081, allocations: 242.9 kB / 0.8843 GB, free: 8.227 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001423/0.5095, allocations: 0.8053 MB / 0.8851 GB, free: 7.418 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007489/0.5103, allocations: 417.4 kB / 0.8855 GB, free: 7.016 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001117/0.5114, allocations: 1.427 MB / 0.8869 GB, free: 5.586 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003024/0.5117, allocations: 290 kB / 0.8871 GB, free: 5.301 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004459/0.5122, allocations: 370.3 kB / 0.8875 GB, free: 4.938 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000665/0.5129, allocations: 348.6 kB / 0.8878 GB, free: 4.598 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 5.717e-05/0.5129, allocations: 20 kB / 0.8878 GB, free: 4.578 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.514, allocations: 0.7754 MB / 0.8886 GB, free: 3.801 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.5141, allocations: 155.5 kB / 0.8887 GB, free: 3.648 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0002181/0.5144, allocations: 254.6 kB / 0.889 GB, free: 3.398 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0008956/0.5153, allocations: 0.9581 MB / 0.8899 GB, free: 2.438 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.5153, allocations: 0 / 0.8899 GB, free: 2.438 MB / 0.7012 GB Notification: Performance of FrontEnd: time 6.61e-07/0.5153, allocations: 0 / 0.8899 GB, free: 2.438 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.5153, allocations: 3.938 kB / 0.8899 GB, free: 2.434 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.001179/0.5165, allocations: 0.8604 MB / 0.8908 GB, free: 1.52 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.5165, allocations: 12.03 kB / 0.8908 GB, free: 1.508 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009249/0.5174, allocations: 143.2 kB / 0.8909 GB, free: 1.367 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005485/0.518, allocations: 496.9 kB / 0.8914 GB, free: 0.8398 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.518, allocations: 28.66 kB / 0.8914 GB, free: 0.8125 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.388e-05/0.5181, allocations: 28 kB / 0.8914 GB, free: 0.7852 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004719/0.5186, allocations: 324.9 kB / 0.8918 GB, free: 468 kB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.5186, allocations: 0 / 0.8918 GB, free: 468 kB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.214e-05/0.5186, allocations: 16 kB / 0.8918 GB, free: 452 kB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.909e-05/0.5186, allocations: 16.5 kB / 0.8918 GB, free: 436 kB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003495/0.519, allocations: 218.1 kB / 0.892 GB, free: 216 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.00153/0.5205, allocations: 1.41 MB / 0.8934 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003313/0.5209, allocations: 222.8 kB / 0.8936 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.521, allocations: 104.8 kB / 0.8937 GB, free: 14.33 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.5211, allocations: 11.92 kB / 0.8937 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002545/0.5213, allocations: 163.7 kB / 0.8938 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=26): time 3.296e-06/0.5213, allocations: 4 kB / 0.8939 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30): time 0.002608/0.524, allocations: 1.148 MB / 0.895 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.524, allocations: 59.34 kB / 0.895 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004083/0.5244, allocations: 457.9 kB / 0.8955 GB, free: 12.42 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.5245, allocations: 29.7 kB / 0.8955 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.5246, allocations: 240.2 kB / 0.8957 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.667e-05/0.5247, allocations: 102.5 kB / 0.8958 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.5248, allocations: 82.03 kB / 0.8959 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.5249, allocations: 354.7 kB / 0.8962 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.5251, allocations: 132.8 kB / 0.8964 GB, free: 11.47 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.5254, allocations: 198.1 kB / 0.8966 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004088/0.5258, allocations: 316.8 kB / 0.8969 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.5258, allocations: 0 / 0.8969 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008465/0.5266, allocations: 497.2 kB / 0.8973 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.5267, allocations: 8 kB / 0.8973 GB, free: 10.42 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.5267, allocations: 0 / 0.8973 GB, free: 10.42 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003173/0.527, allocations: 92.95 kB / 0.8974 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002698/0.5273, allocations: 67.91 kB / 0.8975 GB, free: 10.26 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/0.5289, allocations: 1.779 MB / 0.8992 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003236/0.5292, allocations: 27.83 kB / 0.8993 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.5292, allocations: 12 kB / 0.8993 GB, free: 8.312 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.0001903/0.5294, allocations: 197.8 kB / 0.8995 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.781e-05/0.5295, allocations: 47.47 kB / 0.8995 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.624e-05/0.5296, allocations: 52.58 kB / 0.8996 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.5296, allocations: 4 kB / 0.8996 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.5296, allocations: 3.938 kB / 0.8996 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.5296, allocations: 3.984 kB / 0.8996 GB, free: 8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.531, allocations: 1.02 MB / 0.9006 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.531, allocations: 0 / 0.9006 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003588/0.5314, allocations: 72.02 kB / 0.9006 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002751/0.5317, allocations: 84.81 kB / 0.9007 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.049e-05/0.5317, allocations: 11.94 kB / 0.9007 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001122/0.5328, allocations: 1.538 MB / 0.9022 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.5329, allocations: 0 / 0.9022 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009015/0.5338, allocations: 0.5909 MB / 0.9028 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.5339, allocations: 152.5 kB / 0.9029 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.799e-05/0.534, allocations: 11.94 kB / 0.903 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003448/0.5343, allocations: 19.97 kB / 0.903 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.66e-05/0.5344, allocations: 27.91 kB / 0.903 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.5344, allocations: 12 kB / 0.903 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002771/0.5347, allocations: 307.1 kB / 0.9033 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5347, allocations: 0 / 0.9033 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004376/0.5352, allocations: 120 kB / 0.9034 GB, free: 3.805 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.0008235/0.536, allocations: 447.7 kB / 0.9038 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007937/0.5368, allocations: 450.8 kB / 0.9043 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5368, allocations: 320 / 0.9043 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002804/0.5371, allocations: 262.4 kB / 0.9045 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009731/0.5381, allocations: 224.2 kB / 0.9047 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.5396, allocations: 1.183 MB / 0.9059 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.54, allocations: 0.8541 MB / 0.9067 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0003241/0.5403, allocations: 88.31 kB / 0.9068 GB, free: 412 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.02e-05/0.5404, allocations: 35.44 kB / 0.9068 GB, free: 376 kB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.5404, allocations: 0 / 0.9068 GB, free: 376 kB / 0.7169 GB Notification: Performance of Templates: time 0.2812/0.8217, allocations: 8.524 MB / 0.9152 GB, free: 181.1 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)