Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.648/1.648, allocations: 288.4 MB / 303.4 MB, free: 8.078 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001107/0.001107, allocations: 183.1 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.4 MB / 0.6307 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007664/0.0007664, allocations: 105.1 kB / 0.7441 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004129/0.0004125, allocations: 12.06 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1893, allocations: 115.3 MB / 0.9796 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002163/0.1915, allocations: 1.668 MB / 0.9812 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003434/0.195, allocations: 3.443 MB / 0.9846 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.1952, allocations: 0 / 0.9846 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002372/0.1954, allocations: 35.77 kB / 0.9846 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002847/0.1957, allocations: 107.3 kB / 0.9847 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.196, allocations: 95.81 kB / 0.9848 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.1963, allocations: 215.1 kB / 0.985 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.1964, allocations: 44.56 kB / 0.985 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002026/0.1966, allocations: 95.61 kB / 0.9851 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.1968, allocations: 103.5 kB / 0.9852 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.063e-05/0.1968, allocations: 4 kB / 0.9852 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001944/0.197, allocations: 107.8 kB / 0.9853 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.01e-05/0.1971, allocations: 39.84 kB / 0.9854 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.389e-05/0.1971, allocations: 57.58 kB / 0.9854 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.1973, allocations: 183.5 kB / 0.9856 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1973, allocations: 0 / 0.9856 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1973, allocations: 0 / 0.9856 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.1973, allocations: 0 / 0.9856 GB, free: 21.47 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001031/0.1984, allocations: 0.5918 MB / 0.9862 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.1984, allocations: 12.02 kB / 0.9862 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.715e-05/0.1985, allocations: 23.72 kB / 0.9862 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003867/0.1989, allocations: 258.4 kB / 0.9865 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.1989, allocations: 12 kB / 0.9865 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.1989, allocations: 12 kB / 0.9865 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004551/0.1994, allocations: 191.7 kB / 0.9867 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.1994, allocations: 0 / 0.9867 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.1994, allocations: 0 / 0.9867 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1995, allocations: 4 kB / 0.9867 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006475/0.2001, allocations: 239.8 kB / 0.9869 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007553/0.2009, allocations: 496.4 kB / 0.9874 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003717/0.2013, allocations: 146.4 kB / 0.9875 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003502/0.2016, allocations: 136.9 kB / 0.9877 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007494/0.2024, allocations: 0.5688 MB / 0.9882 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.2024, allocations: 38.55 kB / 0.9882 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.2024, allocations: 0 / 0.9882 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001115/0.2035, allocations: 417.3 kB / 0.9886 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.2036, allocations: 51.41 kB / 0.9887 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.2037, allocations: 238.7 kB / 0.9889 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.2038, allocations: 25.7 kB / 0.9889 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.98e-05/0.2038, allocations: 147.9 kB / 0.9891 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.2039, allocations: 35.45 kB / 0.9891 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.203e-05/0.2039, allocations: 4 kB / 0.9891 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.327e-05/0.2039, allocations: 330.8 kB / 0.9894 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000324/0.2043, allocations: 115.9 kB / 0.9896 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003072/0.2046, allocations: 120.3 kB / 0.9897 GB, free: 17 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/0.2049, allocations: 115.9 kB / 0.9898 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2049, allocations: 4 kB / 0.9898 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007339/0.2057, allocations: 301.2 kB / 0.9901 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.2057, allocations: 11.89 kB / 0.9901 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2057, allocations: 4 kB / 0.9901 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.2057, allocations: 0 / 0.9901 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002958/0.206, allocations: 55.88 kB / 0.9901 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.206, allocations: 8 kB / 0.9901 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/0.2063, allocations: 35.97 kB / 0.9902 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.2063, allocations: 3.984 kB / 0.9902 GB, free: 16.46 MB / 0.6198 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.353e-05/0.2064, allocations: 125.8 kB / 0.9903 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.14e-05/0.2064, allocations: 23.72 kB / 0.9903 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007929/0.2072, allocations: 331.1 kB / 0.9906 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.2072, allocations: 7.875 kB / 0.9906 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.2073, allocations: 0 / 0.9906 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2073, allocations: 0 / 0.9906 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.2075, allocations: 273.4 kB / 0.9909 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2075, allocations: 0 / 0.9909 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002815/0.2078, allocations: 59.95 kB / 0.991 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.2078, allocations: 3.984 kB / 0.991 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.2079, allocations: 0 / 0.991 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.2079, allocations: 7.953 kB / 0.991 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2079, allocations: 0 / 0.991 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007592/0.2086, allocations: 395.2 kB / 0.9914 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.688e-05/0.2087, allocations: 120.7 kB / 0.9915 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.266e-05/0.2088, allocations: 0 / 0.9915 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.209, allocations: 35.95 kB / 0.9915 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.736e-05/0.2091, allocations: 15.94 kB / 0.9915 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.2091, allocations: 11.98 kB / 0.9915 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001063/0.2092, allocations: 166 kB / 0.9917 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2092, allocations: 0 / 0.9917 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003093/0.2095, allocations: 55.94 kB / 0.9917 GB, free: 14.77 MB / 0.6198 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001961/0.2097, allocations: 139.2 kB / 0.9919 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007085/0.2105, allocations: 255.8 kB / 0.9921 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2105, allocations: 0 / 0.9921 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003433/0.2108, allocations: 135.8 kB / 0.9922 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.2112, allocations: 37.39 kB / 0.9923 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007459/0.212, allocations: 497.2 kB / 0.9928 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001478/0.2122, allocations: 0.7316 MB / 0.9935 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001709/0.2123, allocations: 44.84 kB / 0.9935 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.554e-05/0.2124, allocations: 19.42 kB / 0.9935 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2124, allocations: 0 / 0.9935 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of Templates: time 0.004509/0.2169, allocations: 2.312 MB / 0.9958 GB, free: 10.59 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)