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.613/2.613, allocations: 287.5 MB / 302.4 MB, free: 8.297 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.00138/0.00138, allocations: 184.7 kB / 371 MB, free: 10.86 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.161/2.161, allocations: 205.4 MB / 0.6297 GB, free: 10.5 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.0009845/0.0009845, allocations: 98.05 kB / 0.743 GB, free: 6.492 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005046/0.0005047, allocations: 10.75 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2115, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.00252/0.2141, allocations: 1.777 MB / 0.9801 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004956/0.2191, allocations: 3.549 MB / 0.9836 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002038/0.2193, allocations: 0 / 0.9836 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002648/0.2196, allocations: 39.75 kB / 0.9836 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004366/0.2201, allocations: 111.2 kB / 0.9837 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004447/0.2205, allocations: 119.8 kB / 0.9838 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003713/0.2209, allocations: 266.9 kB / 0.9841 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.2211, allocations: 52.89 kB / 0.9841 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002415/0.2213, allocations: 115.5 kB / 0.9842 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.2216, allocations: 127.4 kB / 0.9844 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.938e-05/0.2216, allocations: 12 kB / 0.9844 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003383/0.222, allocations: 115.8 kB / 0.9845 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.571e-05/0.222, allocations: 43.83 kB / 0.9845 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.74e-05/0.2221, allocations: 65.52 kB / 0.9846 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003193/0.2224, allocations: 227.4 kB / 0.9848 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2225, allocations: 0 / 0.9848 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.716e-06/0.2225, allocations: 0 / 0.9848 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.2225, allocations: 0 / 0.9848 GB, free: 21.73 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.001621/0.2241, allocations: 0.6231 MB / 0.9854 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.2242, allocations: 12.03 kB / 0.9854 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/0.2256, allocations: 159.4 kB / 0.9856 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.2266, allocations: 323.1 kB / 0.9859 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.2267, allocations: 8.188 kB / 0.9859 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.437e-05/0.2267, allocations: 12 kB / 0.9859 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.2279, allocations: 256.8 kB / 0.9861 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.2279, allocations: 0 / 0.9861 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.299e-05/0.2279, allocations: 0 / 0.9861 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.2279, allocations: 4 kB / 0.9861 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00175/0.2297, allocations: 340.2 kB / 0.9865 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001832/0.2316, allocations: 0.6022 MB / 0.9871 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000945/0.2325, allocations: 194.5 kB / 0.9872 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008876/0.2334, allocations: 188.7 kB / 0.9874 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001204/0.2346, allocations: 0.5728 MB / 0.988 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.2347, allocations: 34.5 kB / 0.988 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 3.647e-06/0.2347, allocations: 0 / 0.988 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.002921/0.2376, allocations: 0.5686 MB / 0.9886 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.2377, allocations: 51.41 kB / 0.9886 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002946/0.238, allocations: 260.6 kB / 0.9889 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.2381, allocations: 33.7 kB / 0.9889 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.647e-05/0.2382, allocations: 155.8 kB / 0.989 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.934e-05/0.2382, allocations: 43.39 kB / 0.9891 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.2383, allocations: 4 kB / 0.9891 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.811e-05/0.2384, allocations: 342.8 kB / 0.9894 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000908/0.2393, allocations: 171.9 kB / 0.9896 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009331/0.2402, allocations: 183.7 kB / 0.9898 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009153/0.2412, allocations: 171.9 kB / 0.9899 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.2412, allocations: 0 / 0.9899 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.002006/0.2432, allocations: 426.9 kB / 0.9903 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.2432, allocations: 15.98 kB / 0.9903 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.016e-06/0.2432, allocations: 4 kB / 0.9903 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.2433, allocations: 0 / 0.9903 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008193/0.2441, allocations: 95.78 kB / 0.9904 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.2441, allocations: 0 / 0.9904 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005842/0.2447, allocations: 55.8 kB / 0.9905 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-05/0.2448, allocations: 11.98 kB / 0.9905 GB, free: 15.55 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.0001605/0.2449, allocations: 129.8 kB / 0.9906 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.205e-05/0.245, allocations: 27.7 kB / 0.9907 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002041/0.2471, allocations: 436.3 kB / 0.9911 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.2471, allocations: 0 / 0.9911 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.2471, allocations: 0 / 0.9911 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.2471, allocations: 8 kB / 0.9911 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004004/0.2475, allocations: 317.2 kB / 0.9914 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2476, allocations: 0 / 0.9914 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007298/0.2483, allocations: 71.92 kB / 0.9914 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/0.2483, allocations: 0 / 0.9914 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.198e-05/0.2484, allocations: 11.98 kB / 0.9915 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.2484, allocations: 0 / 0.9915 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.2484, allocations: 0 / 0.9915 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001927/0.2503, allocations: 0.4924 MB / 0.9919 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.2505, allocations: 124.7 kB / 0.9921 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.268e-05/0.2506, allocations: 3.984 kB / 0.9921 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005917/0.2512, allocations: 51.95 kB / 0.9921 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.2513, allocations: 15.97 kB / 0.9921 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.204e-05/0.2513, allocations: 4 kB / 0.9921 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001982/0.2515, allocations: 191.1 kB / 0.9923 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.41e-07/0.2515, allocations: 0 / 0.9923 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000494/0.252, allocations: 72 kB / 0.9924 GB, free: 13.53 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.000247/0.2523, allocations: 127.2 kB / 0.9925 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001928/0.2542, allocations: 387.6 kB / 0.9929 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2543, allocations: 0 / 0.9929 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009402/0.2552, allocations: 195.8 kB / 0.9931 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005846/0.2558, allocations: 36.53 kB / 0.9931 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.2573, allocations: 0.585 MB / 0.9937 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/0.2575, allocations: 0.7477 MB / 0.9944 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004393/0.2579, allocations: 49.38 kB / 0.9944 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.2581, allocations: 19.42 kB / 0.9945 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of SimCode: time 1.182e-06/0.2581, allocations: 0 / 0.9945 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of Templates: time 0.008506/0.2666, allocations: 2.848 MB / 0.9972 GB, free: 8.516 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)