Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.663/1.663, allocations: 287.5 MB / 302.6 MB, free: 8.273 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.001242/0.001242, allocations: 182.7 kB / 371.2 MB, free: 10.82 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.771/1.771, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0008106/0.0008109, allocations: 95.75 kB / 0.7432 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004074/0.0004075, allocations: 12.03 kB / 0.8661 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2137, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002114/0.2159, allocations: 1.784 MB / 0.9804 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003345/0.2192, allocations: 3.542 MB / 0.9839 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.621e-05/0.2194, allocations: 0 / 0.9839 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002414/0.2196, allocations: 47.67 kB / 0.9839 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003089/0.2199, allocations: 107.3 kB / 0.984 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.2202, allocations: 119.7 kB / 0.9841 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000267/0.2205, allocations: 270.9 kB / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.2206, allocations: 48.73 kB / 0.9844 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.2208, allocations: 115.5 kB / 0.9846 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.221, allocations: 131.4 kB / 0.9847 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.256e-05/0.221, allocations: 8 kB / 0.9847 GB, free: 22 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002029/0.2212, allocations: 119.8 kB / 0.9848 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.905e-05/0.2213, allocations: 43.81 kB / 0.9848 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.644e-05/0.2213, allocations: 61.58 kB / 0.9849 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.2215, allocations: 227.4 kB / 0.9851 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.2216, allocations: 0 / 0.9851 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2216, allocations: 0 / 0.9851 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.2216, allocations: 0 / 0.9851 GB, free: 21.55 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009791/0.2226, allocations: 0.6232 MB / 0.9857 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.2226, allocations: 12.03 kB / 0.9857 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008018/0.2234, allocations: 156.4 kB / 0.9859 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006145/0.224, allocations: 332.2 kB / 0.9862 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.2241, allocations: 12.5 kB / 0.9862 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.42e-05/0.2241, allocations: 19.92 kB / 0.9862 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006043/0.2247, allocations: 257.4 kB / 0.9865 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.2247, allocations: 0 / 0.9865 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.2248, allocations: 0 / 0.9865 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2248, allocations: 4 kB / 0.9865 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009122/0.2257, allocations: 339.7 kB / 0.9868 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.2268, allocations: 0.6018 MB / 0.9874 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005036/0.2273, allocations: 198.4 kB / 0.9876 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004591/0.2278, allocations: 184.7 kB / 0.9878 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006788/0.2285, allocations: 0.5806 MB / 0.9883 GB, free: 18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.2285, allocations: 30.56 kB / 0.9884 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.2285, allocations: 0 / 0.9884 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.001538/0.23, allocations: 0.5676 MB / 0.9889 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.065e-05/0.2301, allocations: 55.41 kB / 0.989 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.2302, allocations: 256.6 kB / 0.9892 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.2303, allocations: 33.7 kB / 0.9892 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.358e-05/0.2303, allocations: 155.9 kB / 0.9894 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.2304, allocations: 43.36 kB / 0.9894 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.367e-05/0.2304, allocations: 0 / 0.9894 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.753e-05/0.2305, allocations: 342.8 kB / 0.9898 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004628/0.2309, allocations: 171.9 kB / 0.9899 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004509/0.2314, allocations: 175.9 kB / 0.9901 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008683/0.2323, allocations: 355 kB / 0.9904 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2323, allocations: 4 kB / 0.9904 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009949/0.2333, allocations: 429 kB / 0.9908 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.2333, allocations: 4 kB / 0.9908 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.2333, allocations: 0 / 0.9908 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.2334, allocations: 4 kB / 0.9909 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000403/0.2338, allocations: 91.84 kB / 0.9909 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.2338, allocations: 0 / 0.9909 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003019/0.2341, allocations: 59.83 kB / 0.991 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.2341, allocations: 11.98 kB / 0.991 GB, free: 15.19 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 (17): * Single equations (assignments): 17 * 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.541e-05/0.2342, allocations: 125.8 kB / 0.9911 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.372e-05/0.2343, allocations: 27.62 kB / 0.9912 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/0.2353, allocations: 440.6 kB / 0.9916 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.2353, allocations: 4 kB / 0.9916 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2354, allocations: 0 / 0.9916 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.2354, allocations: 3.938 kB / 0.9916 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.2356, allocations: 309.2 kB / 0.9919 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2356, allocations: 0 / 0.9919 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000368/0.236, allocations: 79.92 kB / 0.992 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.236, allocations: 0 / 0.992 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.236, allocations: 7.984 kB / 0.992 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.236, allocations: 0 / 0.992 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2361, allocations: 0 / 0.992 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000972/0.237, allocations: 0.492 MB / 0.9924 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.523e-05/0.2371, allocations: 120.8 kB / 0.9926 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.871e-05/0.2372, allocations: 3.938 kB / 0.9926 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003138/0.2375, allocations: 55.94 kB / 0.9926 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.212e-05/0.2376, allocations: 15.97 kB / 0.9926 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.2376, allocations: 19.92 kB / 0.9926 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001149/0.2377, allocations: 183.1 kB / 0.9928 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2377, allocations: 0 / 0.9928 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003286/0.238, allocations: 75.83 kB / 0.9929 GB, free: 13.15 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 (13): * Single equations (assignments): 13 * 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.0001767/0.2382, allocations: 127.2 kB / 0.993 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001006/0.2392, allocations: 387.6 kB / 0.9934 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2393, allocations: 0 / 0.9934 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004862/0.2397, allocations: 203.8 kB / 0.9936 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.2401, allocations: 30.27 kB / 0.9936 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008456/0.241, allocations: 0.5824 MB / 0.9942 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001545/0.2412, allocations: 0.7399 MB / 0.9949 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002455/0.2414, allocations: 57.38 kB / 0.995 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.91e-05/0.2415, allocations: 19.42 kB / 0.995 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2415, allocations: 0 / 0.995 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of Templates: time 0.005476/0.247, allocations: 2.849 MB / 0.9978 GB, free: 8.145 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)