Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 195.9 kB / 16.53 MB, free: 6.391 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.558/1.558, allocations: 205.1 MB / 222.4 MB, free: 4.422 MB / 174.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.688/1.688, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001652/0.001652, allocations: 68.73 kB / 0.6715 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2016, allocations: 114.5 MB / 0.7834 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003266/0.2049, allocations: 2.146 MB / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004264/0.2092, allocations: 3.795 MB / 0.7892 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.2093, allocations: 0 / 0.7892 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002465/0.2096, allocations: 59.55 kB / 0.7892 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003223/0.2099, allocations: 123.1 kB / 0.7893 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.2102, allocations: 147.6 kB / 0.7895 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00031/0.2106, allocations: 314.9 kB / 0.7898 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.2107, allocations: 60.66 kB / 0.7898 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001978/0.2109, allocations: 127.5 kB / 0.79 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.2111, allocations: 143.4 kB / 0.7901 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.942e-05/0.2111, allocations: 23.94 kB / 0.7901 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002264/0.2114, allocations: 131.8 kB / 0.7902 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.645e-05/0.2114, allocations: 63.75 kB / 0.7903 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.2116, allocations: 127.2 kB / 0.7904 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003325/0.2119, allocations: 326.9 kB / 0.7907 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.2119, allocations: 0 / 0.7907 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2119, allocations: 0 / 0.7907 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.2119, allocations: 0 / 0.7907 GB, free: 5.93 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001146/0.2131, allocations: 0.6307 MB / 0.7913 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.2131, allocations: 12.03 kB / 0.7914 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009474/0.2141, allocations: 176.4 kB / 0.7915 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006978/0.2148, allocations: 328.2 kB / 0.7918 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.2148, allocations: 8.547 kB / 0.7919 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.2148, allocations: 15.94 kB / 0.7919 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006336/0.2155, allocations: 223.9 kB / 0.7921 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.2155, allocations: 0 / 0.7921 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.2155, allocations: 4 kB / 0.7921 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.2155, allocations: 4 kB / 0.7921 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009888/0.2165, allocations: 283.7 kB / 0.7924 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.2177, allocations: 0.5822 MB / 0.7929 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005626/0.2183, allocations: 174.4 kB / 0.7931 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005113/0.2188, allocations: 156.7 kB / 0.7932 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008016/0.2196, allocations: 0.5532 MB / 0.7938 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.2197, allocations: 34.56 kB / 0.7938 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.2197, allocations: 0 / 0.7938 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.001673/0.2214, allocations: 480.9 kB / 0.7943 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.2214, allocations: 55.41 kB / 0.7943 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.2216, allocations: 264.6 kB / 0.7946 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.2216, allocations: 25.7 kB / 0.7946 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.409e-05/0.2217, allocations: 148 kB / 0.7947 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.235e-05/0.2218, allocations: 47.3 kB / 0.7948 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.521e-05/0.2219, allocations: 41.69 kB / 0.7948 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.222, allocations: 342.8 kB / 0.7952 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000516/0.2225, allocations: 147.8 kB / 0.7953 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005056/0.223, allocations: 152.8 kB / 0.7954 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009715/0.224, allocations: 283.1 kB / 0.7957 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.224, allocations: 0 / 0.7957 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00124/0.2253, allocations: 369 kB / 0.7961 GB, free: 136 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.2253, allocations: 14.81 kB / 0.7961 GB, free: 124 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.2253, allocations: 0 / 0.7961 GB, free: 124 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.2253, allocations: 0 / 0.7961 GB, free: 124 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004478/0.2258, allocations: 67.86 kB / 0.7961 GB, free: 56 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.2258, allocations: 3.938 kB / 0.7961 GB, free: 52 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003556/0.2262, allocations: 51.98 kB / 0.7962 GB, free: 16 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.2262, allocations: 7.938 kB / 0.7962 GB, free: 15.99 MB / 0.6231 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 (17): * Single equations (assignments): 17 * 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 0.0001497/0.2264, allocations: 134.5 kB / 0.7963 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.834e-05/0.2264, allocations: 23.62 kB / 0.7964 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/0.2277, allocations: 387.5 kB / 0.7967 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.2277, allocations: 0 / 0.7967 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.2278, allocations: 3.938 kB / 0.7967 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.2278, allocations: 3.984 kB / 0.7967 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004048/0.2282, allocations: 301.4 kB / 0.797 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2282, allocations: 4 kB / 0.797 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003977/0.2286, allocations: 55.92 kB / 0.7971 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.2286, allocations: 4 kB / 0.7971 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.2287, allocations: 7.984 kB / 0.7971 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.2287, allocations: 4 kB / 0.7971 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2287, allocations: 0 / 0.7971 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/0.2299, allocations: 453.9 kB / 0.7975 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/0.23, allocations: 120.7 kB / 0.7976 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.613e-05/0.2301, allocations: 11.98 kB / 0.7977 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003626/0.2305, allocations: 31.95 kB / 0.7977 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.841e-05/0.2306, allocations: 19.97 kB / 0.7977 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.2306, allocations: 8 kB / 0.7977 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001997/0.2308, allocations: 195 kB / 0.7979 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.2308, allocations: 0 / 0.7979 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003633/0.2312, allocations: 60 kB / 0.798 GB, free: 14.1 MB / 0.6231 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.0003135/0.2315, allocations: 135.2 kB / 0.7981 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001216/0.2327, allocations: 331.6 kB / 0.7984 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.2327, allocations: 0 / 0.7984 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005865/0.2333, allocations: 163.8 kB / 0.7986 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005062/0.2338, allocations: 32.56 kB / 0.7986 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.2351, allocations: 0.5005 MB / 0.7991 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.2355, allocations: 0.7513 MB / 0.7998 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002519/0.2357, allocations: 49.38 kB / 0.7999 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.2358, allocations: 27.3 kB / 0.7999 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.2358, allocations: 0 / 0.7999 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of Templates: time 0.007273/0.2431, allocations: 3.286 MB / 0.8031 GB, free: 8.805 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)