Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.652/1.652, allocations: 288.4 MB / 303.7 MB, free: 8.102 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.001166/0.001166, allocations: 182.4 kB / 372.3 MB, free: 10.14 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.574/1.574, allocations: 205.4 MB / 0.631 GB, free: 9.922 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.0008137/0.0008137, allocations: 98.28 kB / 0.7444 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000664/0.0006645, allocations: 16.78 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2291, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.00215/0.2313, allocations: 1.777 MB / 0.9819 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003902/0.2353, allocations: 3.545 MB / 0.9853 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002374/0.2355, allocations: 4 kB / 0.9853 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003204/0.2359, allocations: 47.67 kB / 0.9854 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004341/0.2363, allocations: 107.3 kB / 0.9855 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003777/0.2367, allocations: 119.7 kB / 0.9856 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003325/0.2371, allocations: 266.9 kB / 0.9859 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.2372, allocations: 60.69 kB / 0.9859 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002361/0.2374, allocations: 115.5 kB / 0.986 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.2376, allocations: 131.4 kB / 0.9861 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.064e-05/0.2377, allocations: 8 kB / 0.9862 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002314/0.2379, allocations: 115.8 kB / 0.9863 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.211e-05/0.238, allocations: 43.81 kB / 0.9863 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.2381, allocations: 133.1 kB / 0.9864 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.2383, allocations: 219.4 kB / 0.9866 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.2384, allocations: 4 kB / 0.9866 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.724e-06/0.2384, allocations: 0 / 0.9866 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.2384, allocations: 0 / 0.9866 GB, free: 20.65 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.001037/0.2394, allocations: 0.6233 MB / 0.9873 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.2395, allocations: 11.97 kB / 0.9873 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000837/0.2403, allocations: 160.3 kB / 0.9874 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006318/0.241, allocations: 332.2 kB / 0.9877 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.241, allocations: 12.56 kB / 0.9877 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/0.241, allocations: 11.94 kB / 0.9878 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006159/0.2417, allocations: 255.1 kB / 0.988 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.2417, allocations: 3.938 kB / 0.988 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.2417, allocations: 4 kB / 0.988 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2417, allocations: 4 kB / 0.988 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008942/0.2426, allocations: 343.7 kB / 0.9883 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.2437, allocations: 0.594 MB / 0.9889 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004914/0.2442, allocations: 202.4 kB / 0.9891 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004538/0.2447, allocations: 184.7 kB / 0.9893 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006806/0.2454, allocations: 0.5728 MB / 0.9899 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.2454, allocations: 38.56 kB / 0.9899 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.934e-06/0.2454, allocations: 0 / 0.9899 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.001525/0.247, allocations: 0.5648 MB / 0.9904 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.332e-05/0.247, allocations: 59.41 kB / 0.9905 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.2472, allocations: 256.6 kB / 0.9907 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.2472, allocations: 29.7 kB / 0.9908 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.469e-05/0.2473, allocations: 152 kB / 0.9909 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.2473, allocations: 39.36 kB / 0.991 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.505e-05/0.2473, allocations: 8 kB / 0.991 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.514e-05/0.2474, allocations: 334.8 kB / 0.9913 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004589/0.2479, allocations: 175.9 kB / 0.9914 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004438/0.2483, allocations: 173.7 kB / 0.9916 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008802/0.2492, allocations: 361.8 kB / 0.992 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2492, allocations: 0 / 0.992 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009971/0.2502, allocations: 434.2 kB / 0.9924 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.2503, allocations: 7.938 kB / 0.9924 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.2503, allocations: 0 / 0.9924 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.2503, allocations: 0 / 0.9924 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004115/0.2507, allocations: 83.91 kB / 0.9925 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.2507, allocations: 0 / 0.9925 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003004/0.251, allocations: 63.83 kB / 0.9925 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.2511, allocations: 7.984 kB / 0.9925 GB, free: 14.3 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.649e-05/0.2512, allocations: 135.3 kB / 0.9927 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.372e-05/0.2512, allocations: 23.62 kB / 0.9927 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/0.2523, allocations: 441.1 kB / 0.9931 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.2523, allocations: 8 kB / 0.9931 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2523, allocations: 0 / 0.9931 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.2523, allocations: 3.938 kB / 0.9931 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.2525, allocations: 309.2 kB / 0.9934 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2526, allocations: 0 / 0.9934 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003732/0.2529, allocations: 79.86 kB / 0.9935 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.2529, allocations: 3.984 kB / 0.9935 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.253, allocations: 4 kB / 0.9935 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.253, allocations: 0 / 0.9935 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.253, allocations: 0 / 0.9935 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.254, allocations: 0.5067 MB / 0.994 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.612e-05/0.2541, allocations: 112.8 kB / 0.9941 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.059e-05/0.2542, allocations: 8 kB / 0.9941 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003211/0.2545, allocations: 51.94 kB / 0.9941 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.907e-05/0.2546, allocations: 11.98 kB / 0.9942 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.2546, allocations: 19.86 kB / 0.9942 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000118/0.2547, allocations: 183.1 kB / 0.9944 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2547, allocations: 0 / 0.9944 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003078/0.255, allocations: 75.83 kB / 0.9944 GB, free: 12.25 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.0002066/0.2552, allocations: 131.2 kB / 0.9946 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001036/0.2563, allocations: 384.7 kB / 0.9949 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2563, allocations: 0 / 0.9949 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004884/0.2568, allocations: 195.8 kB / 0.9951 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/0.2572, allocations: 28.64 kB / 0.9951 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008929/0.2581, allocations: 0.5765 MB / 0.9957 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001573/0.2583, allocations: 0.7438 MB / 0.9964 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000249/0.2585, allocations: 53.36 kB / 0.9965 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.847e-05/0.2586, allocations: 27.36 kB / 0.9965 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2586, allocations: 4 kB / 0.9965 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of Templates: time 0.004947/0.2636, allocations: 2.855 MB / 0.9993 GB, free: 7.254 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)