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.714/1.714, allocations: 288.3 MB / 303.2 MB, free: 8.172 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.001259/0.001259, allocations: 181 kB / 371.8 MB, free: 10.3 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.414/1.414, allocations: 205.4 MB / 0.6306 GB, free: 10.03 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.0008375/0.0008373, allocations: 103.8 kB / 0.7439 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003615, allocations: 15.58 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2093, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.001761/0.2111, allocations: 1.629 MB / 0.981 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002843/0.2139, allocations: 3.245 MB / 0.9842 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.731e-05/0.214, allocations: 4 kB / 0.9842 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001905/0.2142, allocations: 47.75 kB / 0.9842 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002348/0.2145, allocations: 103.6 kB / 0.9843 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/0.2148, allocations: 111.7 kB / 0.9844 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.215, allocations: 155.7 kB / 0.9846 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.2151, allocations: 40.56 kB / 0.9846 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.2153, allocations: 95.61 kB / 0.9847 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.2154, allocations: 99.58 kB / 0.9848 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.2155, allocations: 8 kB / 0.9848 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.2156, allocations: 107.8 kB / 0.9849 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.884e-05/0.2157, allocations: 31.89 kB / 0.985 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.598e-05/0.2157, allocations: 57.58 kB / 0.985 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.2159, allocations: 175.6 kB / 0.9852 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.2159, allocations: 0 / 0.9852 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2159, allocations: 0 / 0.9852 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.2159, allocations: 4 kB / 0.9852 GB, free: 21.8 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.0009343/0.2169, allocations: 0.5879 MB / 0.9858 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.2169, allocations: 12.02 kB / 0.9858 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.184e-05/0.217, allocations: 35.59 kB / 0.9858 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003577/0.2173, allocations: 254.5 kB / 0.986 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.2174, allocations: 4 kB / 0.986 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.2174, allocations: 8 kB / 0.9861 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004506/0.2178, allocations: 195 kB / 0.9862 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.2179, allocations: 0 / 0.9862 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.2179, allocations: 7.938 kB / 0.9862 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.2179, allocations: 11.94 kB / 0.9863 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006335/0.2185, allocations: 231.8 kB / 0.9865 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007108/0.2193, allocations: 496.4 kB / 0.987 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003634/0.2196, allocations: 146.4 kB / 0.9871 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006987/0.2203, allocations: 0.5651 MB / 0.9876 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.2204, allocations: 42.52 kB / 0.9877 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.203e-06/0.2204, allocations: 0 / 0.9877 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001118/0.2215, allocations: 421.3 kB / 0.9881 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.2215, allocations: 55.34 kB / 0.9881 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.2217, allocations: 230.7 kB / 0.9884 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.2217, allocations: 25.7 kB / 0.9884 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.656e-05/0.2218, allocations: 144 kB / 0.9885 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.2218, allocations: 35.45 kB / 0.9886 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.188e-05/0.2218, allocations: 4 kB / 0.9886 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.871e-05/0.2219, allocations: 334.8 kB / 0.9889 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003259/0.2222, allocations: 119.9 kB / 0.989 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000307/0.2225, allocations: 111.9 kB / 0.9891 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003157/0.2229, allocations: 115.9 kB / 0.9892 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.2229, allocations: 0 / 0.9892 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006946/0.2236, allocations: 301.2 kB / 0.9895 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.2236, allocations: 11.95 kB / 0.9895 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.2236, allocations: 0 / 0.9895 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.2236, allocations: 0 / 0.9895 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002957/0.2239, allocations: 67.88 kB / 0.9896 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.2239, allocations: 0 / 0.9896 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.2242, allocations: 39.97 kB / 0.9896 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.2242, allocations: 7.984 kB / 0.9896 GB, free: 16.93 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 8.789e-05/0.2243, allocations: 121.8 kB / 0.9897 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.908e-05/0.2243, allocations: 19.72 kB / 0.9898 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007892/0.2251, allocations: 335.8 kB / 0.9901 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2251, allocations: 0 / 0.9901 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2252, allocations: 0 / 0.9901 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.2252, allocations: 4 kB / 0.9901 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.2254, allocations: 269.5 kB / 0.9903 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2254, allocations: 0 / 0.9903 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/0.2257, allocations: 59.88 kB / 0.9904 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2257, allocations: 0 / 0.9904 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.2257, allocations: 11.98 kB / 0.9904 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2257, allocations: 7.953 kB / 0.9904 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.2257, allocations: 0 / 0.9904 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007176/0.2265, allocations: 407 kB / 0.9908 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.797e-05/0.2265, allocations: 112.8 kB / 0.9909 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.2266, allocations: 4 kB / 0.9909 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.2268, allocations: 35.97 kB / 0.9909 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.07e-05/0.2269, allocations: 19.92 kB / 0.991 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.2269, allocations: 7.984 kB / 0.991 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.987e-05/0.227, allocations: 166 kB / 0.9911 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.227, allocations: 0 / 0.9911 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003016/0.2273, allocations: 55.94 kB / 0.9912 GB, free: 15.22 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.0001757/0.2275, allocations: 138 kB / 0.9913 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007237/0.2282, allocations: 259.7 kB / 0.9916 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2283, allocations: 0 / 0.9916 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003496/0.2286, allocations: 143.8 kB / 0.9917 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.2289, allocations: 29.16 kB / 0.9917 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006645/0.2296, allocations: 485.3 kB / 0.9922 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.2297, allocations: 0.7472 MB / 0.9929 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001701/0.2299, allocations: 32.84 kB / 0.9929 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.57e-05/0.23, allocations: 19.42 kB / 0.993 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.23, allocations: 0 / 0.993 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of Templates: time 0.004348/0.2344, allocations: 2.318 MB / 0.9952 GB, free: 11.05 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)