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 2.548/2.548, allocations: 287.3 MB / 302.3 MB, free: 8.414 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.001726/0.001726, allocations: 185.3 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.209/2.209, allocations: 205.4 MB / 0.6295 GB, free: 10.58 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.001692/0.001691, allocations: 93.78 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006711/0.0006712, allocations: 15.12 kB / 0.8656 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2214, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002423/0.2239, allocations: 1.742 MB / 0.9799 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004905/0.2288, allocations: 3.339 MB / 0.9832 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000208/0.2291, allocations: 0 / 0.9832 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000323/0.2294, allocations: 43.75 kB / 0.9832 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004852/0.2299, allocations: 135.5 kB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004719/0.2304, allocations: 111.7 kB / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003916/0.2308, allocations: 199.6 kB / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.231, allocations: 44.89 kB / 0.9837 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002768/0.2313, allocations: 115.6 kB / 0.9838 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.2315, allocations: 127.4 kB / 0.9839 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.387e-05/0.2316, allocations: 8 kB / 0.9839 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003308/0.2319, allocations: 115.8 kB / 0.984 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.912e-05/0.232, allocations: 43.77 kB / 0.9841 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.835e-05/0.2321, allocations: 65.58 kB / 0.9841 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003513/0.2325, allocations: 223.5 kB / 0.9843 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.2325, allocations: 0 / 0.9843 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2325, allocations: 0 / 0.9843 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.2325, allocations: 4 kB / 0.9843 GB, free: 22.06 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.001735/0.2343, allocations: 0.6192 MB / 0.9849 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.2343, allocations: 15.97 kB / 0.985 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001485/0.2358, allocations: 159.4 kB / 0.9851 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.2369, allocations: 323.2 kB / 0.9854 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.237, allocations: 8.188 kB / 0.9854 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.229e-05/0.2371, allocations: 12 kB / 0.9854 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.2382, allocations: 251 kB / 0.9857 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.2383, allocations: 0 / 0.9857 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.559e-05/0.2383, allocations: 8 kB / 0.9857 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.2384, allocations: 0 / 0.9857 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/0.2402, allocations: 340.2 kB / 0.986 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001974/0.2422, allocations: 0.6022 MB / 0.9866 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009783/0.2432, allocations: 198.4 kB / 0.9868 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001262/0.2445, allocations: 0.5844 MB / 0.9874 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.2445, allocations: 34.5 kB / 0.9874 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 3.116e-06/0.2446, allocations: 4 kB / 0.9874 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.003067/0.2476, allocations: 0.5637 MB / 0.9879 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.2477, allocations: 51.41 kB / 0.988 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003062/0.248, allocations: 260.6 kB / 0.9882 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.988e-05/0.2481, allocations: 29.7 kB / 0.9883 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.2482, allocations: 155.9 kB / 0.9884 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.56e-05/0.2483, allocations: 43.45 kB / 0.9885 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.2483, allocations: 0 / 0.9885 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.837e-05/0.2484, allocations: 338.8 kB / 0.9888 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009949/0.2494, allocations: 171.9 kB / 0.9889 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009355/0.2504, allocations: 190 kB / 0.9891 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009551/0.2513, allocations: 175.9 kB / 0.9893 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.2514, allocations: 0 / 0.9893 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.002093/0.2535, allocations: 426.8 kB / 0.9897 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.2535, allocations: 4 kB / 0.9897 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.2536, allocations: 0 / 0.9897 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.2536, allocations: 0 / 0.9897 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008313/0.2544, allocations: 91.84 kB / 0.9898 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.2545, allocations: 7.984 kB / 0.9898 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006205/0.2551, allocations: 59.8 kB / 0.9899 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.374e-05/0.2552, allocations: 11.98 kB / 0.9899 GB, free: 16.07 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 0.0001775/0.2553, allocations: 131.7 kB / 0.99 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.612e-05/0.2554, allocations: 23.72 kB / 0.99 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002119/0.2576, allocations: 441.2 kB / 0.9904 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.2576, allocations: 8 kB / 0.9904 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.2576, allocations: 0 / 0.9904 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.2576, allocations: 0 / 0.9904 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004235/0.2581, allocations: 305.3 kB / 0.9907 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.2581, allocations: 0 / 0.9907 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007526/0.2588, allocations: 79.91 kB / 0.9908 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.714e-06/0.2589, allocations: 0 / 0.9908 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.547e-05/0.2589, allocations: 4 kB / 0.9908 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.2589, allocations: 7.938 kB / 0.9908 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2589, allocations: 0 / 0.9908 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/0.261, allocations: 0.495 MB / 0.9913 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.2611, allocations: 120.7 kB / 0.9914 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.2613, allocations: 8 kB / 0.9914 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006308/0.2619, allocations: 51.94 kB / 0.9915 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.262, allocations: 15.97 kB / 0.9915 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/0.2621, allocations: 8 kB / 0.9915 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002049/0.2623, allocations: 191 kB / 0.9917 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-07/0.2623, allocations: 0 / 0.9917 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004773/0.2628, allocations: 71.89 kB / 0.9917 GB, free: 14.04 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.0002827/0.2631, allocations: 127.2 kB / 0.9919 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002014/0.2651, allocations: 384.3 kB / 0.9922 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.2651, allocations: 0 / 0.9922 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009979/0.2662, allocations: 199.8 kB / 0.9924 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005028/0.2667, allocations: 34.09 kB / 0.9925 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.2682, allocations: 0.5811 MB / 0.993 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.2685, allocations: 0.7477 MB / 0.9938 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004738/0.2689, allocations: 45.39 kB / 0.9938 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001778/0.2691, allocations: 27.36 kB / 0.9938 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of SimCode: time 1.352e-06/0.2691, allocations: 4 kB / 0.9938 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of Templates: time 0.009108/0.2783, allocations: 2.839 MB / 0.9966 GB, free: 9.027 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)