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.001584/0.001584, allocations: 102.8 kB / 16.36 MB, free: 6.305 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.001722/0.001722, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.73/1.73, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.904/1.904, allocations: 292.3 MB / 0.5496 GB, free: 17.63 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.001596/0.001596, allocations: 66.25 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2674, allocations: 114.5 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003462/0.2709, allocations: 1.926 MB / 0.7867 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4723/0.7432, allocations: 3.44 MB / 0.79 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.7434, allocations: 2.625 kB / 0.79 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002721/0.7438, allocations: 53.45 kB / 0.7901 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004364/0.7442, allocations: 130.8 kB / 0.7902 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 7.247e-05/0.7443, allocations: 31.53 kB / 0.7902 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.7445, allocations: 176.3 kB / 0.7904 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.7446, allocations: 29.09 kB / 0.7904 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.7448, allocations: 85.69 kB / 0.7905 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.7449, allocations: 79.83 kB / 0.7906 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.7449, allocations: 10.22 kB / 0.7906 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.922e-05/0.745, allocations: 30.44 kB / 0.7906 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.168e-05/0.7451, allocations: 40.88 kB / 0.7907 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.481e-05/0.7452, allocations: 81.08 kB / 0.7907 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.7454, allocations: 166.1 kB / 0.7909 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.7454, allocations: 6.219 kB / 0.7909 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7454, allocations: 2.562 kB / 0.7909 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.7454, allocations: 0 / 0.7909 GB, free: 46.41 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.0007626/0.7462, allocations: 0.5008 MB / 0.7914 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.7462, allocations: 15.25 kB / 0.7914 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.927e-05/0.7463, allocations: 22.97 kB / 0.7914 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.7466, allocations: 242.7 kB / 0.7917 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.7466, allocations: 3 kB / 0.7917 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.7466, allocations: 3 kB / 0.7917 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003153/0.7469, allocations: 155.5 kB / 0.7918 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.7469, allocations: 0 / 0.7918 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.747, allocations: 3.844 kB / 0.7918 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.447e-05/0.747, allocations: 7.875 kB / 0.7918 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003879/0.7474, allocations: 145.8 kB / 0.792 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005837/0.748, allocations: 457.2 kB / 0.7924 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003694/0.7484, allocations: 178.5 kB / 0.7926 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002243/0.7486, allocations: 100 kB / 0.7927 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.7486, allocations: 2.625 kB / 0.7927 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.7486, allocations: 37.53 kB / 0.7927 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.7486, allocations: 0 / 0.7927 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0007575/0.7494, allocations: 291.1 kB / 0.793 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/0.7494, allocations: 57.69 kB / 0.793 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.7496, allocations: 213.6 kB / 0.7932 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.7496, allocations: 25.7 kB / 0.7933 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.854e-05/0.7497, allocations: 126.4 kB / 0.7934 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.7497, allocations: 39.81 kB / 0.7934 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-05/0.7498, allocations: 37.89 kB / 0.7935 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.161e-05/0.7499, allocations: 331.6 kB / 0.7938 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.7501, allocations: 76.03 kB / 0.7938 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.7503, allocations: 73.61 kB / 0.7939 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003931/0.7507, allocations: 166.5 kB / 0.7941 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.7507, allocations: 0 / 0.7941 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004669/0.7511, allocations: 226.6 kB / 0.7943 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.7512, allocations: 3.438 kB / 0.7943 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.7512, allocations: 2.594 kB / 0.7943 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.7512, allocations: 3.328 kB / 0.7943 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.7514, allocations: 31.91 kB / 0.7943 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.7515, allocations: 3.469 kB / 0.7943 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.7516, allocations: 17.23 kB / 0.7944 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.7516, allocations: 7.562 kB / 0.7944 GB, free: 44.62 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 8.185e-05/0.7517, allocations: 126.1 kB / 0.7945 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.009e-05/0.7518, allocations: 22.06 kB / 0.7945 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.171e-05/0.7519, allocations: 28.84 kB / 0.7945 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.7519, allocations: 3.438 kB / 0.7945 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.7519, allocations: 0.625 kB / 0.7945 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.7519, allocations: 4.875 kB / 0.7945 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.7521, allocations: 277.3 kB / 0.7948 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.7521, allocations: 0 / 0.7948 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/0.7524, allocations: 33.09 kB / 0.7948 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.7524, allocations: 0 / 0.7948 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.7524, allocations: 5.375 kB / 0.7948 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.7524, allocations: 0 / 0.7948 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.7524, allocations: 0 / 0.7948 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005051/0.7529, allocations: 327 kB / 0.7951 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-05/0.753, allocations: 109.2 kB / 0.7953 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/0.753, allocations: 6.906 kB / 0.7953 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.7532, allocations: 9.891 kB / 0.7953 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/0.7533, allocations: 10.81 kB / 0.7953 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.7533, allocations: 9.203 kB / 0.7953 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001014/0.7534, allocations: 160.9 kB / 0.7954 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7534, allocations: 0 / 0.7954 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002832/0.7537, allocations: 38.59 kB / 0.7955 GB, free: 43.95 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0001429/0.7539, allocations: 103.8 kB / 0.7956 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000497/0.7544, allocations: 180.5 kB / 0.7958 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.7544, allocations: 0 / 0.7958 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.7546, allocations: 95.27 kB / 0.7958 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.755, allocations: 25.72 kB / 0.7959 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007068/0.7557, allocations: 470.6 kB / 0.7963 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/0.7559, allocations: 0.7289 MB / 0.797 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.13e-05/0.756, allocations: 21.33 kB / 0.797 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.756, allocations: 1.219 kB / 0.797 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of Templates: time 0.003979/0.76, allocations: 2.315 MB / 0.7993 GB, free: 42.79 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)