Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 105.7 kB / 16.36 MB, free: 6.309 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.0009757/0.0009757, allocations: 187.4 kB / 17.3 MB, free: 5.871 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.287/1.287, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.774/1.774, allocations: 292.3 MB / 0.5496 GB, free: 17.41 MB / 462.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.001435/0.001435, allocations: 68.47 kB / 0.6729 GB, free: 5.805 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1889, allocations: 114.6 MB / 0.7848 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002862/0.1918, allocations: 1.916 MB / 0.7867 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3163/0.5081, allocations: 3.44 MB / 0.79 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.5082, allocations: 2.719 kB / 0.79 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002354/0.5085, allocations: 56.7 kB / 0.7901 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003958/0.5089, allocations: 124.1 kB / 0.7902 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 6.556e-05/0.509, allocations: 31.41 kB / 0.7902 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000175/0.5092, allocations: 171.5 kB / 0.7904 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.783e-05/0.5093, allocations: 30.91 kB / 0.7904 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.5094, allocations: 91.42 kB / 0.7905 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.5096, allocations: 81.69 kB / 0.7906 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.5096, allocations: 9 kB / 0.7906 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.51e-05/0.5097, allocations: 34.59 kB / 0.7906 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.635e-05/0.5098, allocations: 35.81 kB / 0.7907 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.589e-05/0.5098, allocations: 81.06 kB / 0.7907 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.51, allocations: 171 kB / 0.7909 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.51, allocations: 1.094 kB / 0.7909 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.263e-06/0.51, allocations: 1.25 kB / 0.7909 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.51, allocations: 0 / 0.7909 GB, free: 46.44 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007439/0.5108, allocations: 0.5059 MB / 0.7914 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.5108, allocations: 11.75 kB / 0.7914 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.529e-05/0.5109, allocations: 20.69 kB / 0.7914 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.5112, allocations: 243.9 kB / 0.7917 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.344e-06/0.5112, allocations: 7.906 kB / 0.7917 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.5112, allocations: 3 kB / 0.7917 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003092/0.5115, allocations: 141.3 kB / 0.7918 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.5115, allocations: 2.719 kB / 0.7918 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.5115, allocations: 7.922 kB / 0.7918 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.259e-05/0.5116, allocations: 11.94 kB / 0.7918 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004082/0.512, allocations: 147.8 kB / 0.792 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005523/0.5125, allocations: 451.5 kB / 0.7924 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003657/0.5129, allocations: 176.8 kB / 0.7926 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000225/0.5132, allocations: 103.8 kB / 0.7927 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.5132, allocations: 4.484 kB / 0.7927 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.044e-05/0.5132, allocations: 33.66 kB / 0.7927 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.5132, allocations: 1.156 kB / 0.7927 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0007536/0.514, allocations: 291.3 kB / 0.793 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.505e-05/0.514, allocations: 56.42 kB / 0.793 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.5141, allocations: 214.5 kB / 0.7932 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.5142, allocations: 32.14 kB / 0.7933 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.5142, allocations: 125.6 kB / 0.7934 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.5143, allocations: 40.83 kB / 0.7934 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.247e-05/0.5143, allocations: 29.97 kB / 0.7935 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.494e-05/0.5144, allocations: 337.2 kB / 0.7938 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.5146, allocations: 70.61 kB / 0.7939 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.5148, allocations: 77.47 kB / 0.7939 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004124/0.5152, allocations: 166.9 kB / 0.7941 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.5152, allocations: 0 / 0.7941 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004772/0.5157, allocations: 222.9 kB / 0.7943 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.5157, allocations: 7.031 kB / 0.7943 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.5157, allocations: 6.969 kB / 0.7943 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.5158, allocations: 0 / 0.7943 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.516, allocations: 35.56 kB / 0.7943 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.516, allocations: 0 / 0.7943 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.5162, allocations: 11.05 kB / 0.7944 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.5162, allocations: 6.312 kB / 0.7944 GB, free: 44.65 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.843e-05/0.5163, allocations: 129.8 kB / 0.7945 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.302e-05/0.5163, allocations: 25.64 kB / 0.7945 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.92e-05/0.5164, allocations: 33.56 kB / 0.7945 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.5164, allocations: 0 / 0.7945 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5164, allocations: 0 / 0.7945 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.568e-05/0.5165, allocations: 109 kB / 0.7946 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.012e-05/0.5165, allocations: 1.875 kB / 0.7946 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.5167, allocations: 26.61 kB / 0.7947 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.5168, allocations: 6.609 kB / 0.7947 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006133/0.5174, allocations: 303.4 kB / 0.795 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000496/0.5179, allocations: 399.2 kB / 0.7953 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000217/0.5181, allocations: 85.08 kB / 0.7954 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.978e-05/0.5182, allocations: 162.5 kB / 0.7956 GB, free: 44 MB / 0.6544 GB Notification: Performance of Backend: time 4.61e-07/0.5182, allocations: 0 / 0.7956 GB, free: 44 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005968/0.5188, allocations: 185.6 kB / 0.7958 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0006325/0.5195, allocations: 0.832 MB / 0.7966 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of Templates: time 0.004859/0.5243, allocations: 2.438 MB / 0.799 GB, free: 43.14 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)