Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.491/1.491, allocations: 252 MB / 267.6 MB, free: 10.9 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 184.6 kB / 327.3 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.846/1.846, allocations: 205.4 MB / 0.5783 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007823/0.0007823, allocations: 90.36 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.0003761, allocations: 16.62 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2345, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002258/0.2368, allocations: 1.781 MB / 0.9026 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004122/0.241, allocations: 3.544 MB / 0.906 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002409/0.2412, allocations: 7.938 kB / 0.906 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003227/0.2416, allocations: 55.73 kB / 0.9061 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004928/0.2421, allocations: 107.3 kB / 0.9062 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004517/0.2426, allocations: 115.8 kB / 0.9063 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004203/0.243, allocations: 266.9 kB / 0.9066 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.2432, allocations: 48.89 kB / 0.9066 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003027/0.2435, allocations: 115.5 kB / 0.9067 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.2436, allocations: 131.4 kB / 0.9068 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.2e-05/0.2437, allocations: 8 kB / 0.9069 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002521/0.2439, allocations: 115.8 kB / 0.907 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.805e-05/0.244, allocations: 39.83 kB / 0.907 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.119e-05/0.2441, allocations: 65.52 kB / 0.9071 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.2443, allocations: 231.7 kB / 0.9073 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2443, allocations: 0 / 0.9073 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2443, allocations: 4 kB / 0.9073 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.2443, allocations: 0 / 0.9073 GB, free: 57.26 MB / 0.6042 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.001123/0.2455, allocations: 0.6231 MB / 0.9079 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.2455, allocations: 8.031 kB / 0.9079 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008527/0.2464, allocations: 155.4 kB / 0.9081 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00065/0.247, allocations: 323.2 kB / 0.9084 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.2471, allocations: 8.188 kB / 0.9084 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.295e-05/0.2471, allocations: 15.94 kB / 0.9084 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006415/0.2478, allocations: 251 kB / 0.9086 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.2478, allocations: 0 / 0.9086 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/0.2478, allocations: 4 kB / 0.9086 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.2478, allocations: 0 / 0.9086 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009306/0.2488, allocations: 345.6 kB / 0.909 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.2499, allocations: 0.606 MB / 0.9095 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000517/0.2505, allocations: 198.4 kB / 0.9097 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004686/0.2509, allocations: 180.7 kB / 0.9099 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000795/0.2518, allocations: 0.5806 MB / 0.9105 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.2518, allocations: 34.56 kB / 0.9105 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 2.384e-06/0.2518, allocations: 3.938 kB / 0.9105 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.001579/0.2534, allocations: 0.5625 MB / 0.9111 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.2534, allocations: 55.41 kB / 0.9111 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.2536, allocations: 264.5 kB / 0.9114 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.2537, allocations: 29.7 kB / 0.9114 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.788e-05/0.2537, allocations: 144 kB / 0.9115 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.157e-05/0.2538, allocations: 51.3 kB / 0.9116 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.656e-05/0.2538, allocations: 0 / 0.9116 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.679e-05/0.2539, allocations: 338.8 kB / 0.9119 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004726/0.2544, allocations: 179.9 kB / 0.9121 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004661/0.2548, allocations: 182.8 kB / 0.9122 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000476/0.2553, allocations: 171.9 kB / 0.9124 GB, free: 51.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.2553, allocations: 0 / 0.9124 GB, free: 51.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001062/0.2564, allocations: 433 kB / 0.9128 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.2564, allocations: 4 kB / 0.9128 GB, free: 51.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2564, allocations: 0 / 0.9128 GB, free: 51.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.2565, allocations: 8 kB / 0.9128 GB, free: 51.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004471/0.2569, allocations: 79.92 kB / 0.9129 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.2569, allocations: 0 / 0.9129 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003341/0.2573, allocations: 63.78 kB / 0.913 GB, free: 51.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.2573, allocations: 11.98 kB / 0.913 GB, free: 51.1 MB / 0.6042 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.0001181/0.2574, allocations: 133.7 kB / 0.9131 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.015e-05/0.2575, allocations: 27.62 kB / 0.9131 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001142/0.2586, allocations: 435.3 kB / 0.9136 GB, free: 50.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.2587, allocations: 3.984 kB / 0.9136 GB, free: 50.49 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.2587, allocations: 3.938 kB / 0.9136 GB, free: 50.49 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.2587, allocations: 3.984 kB / 0.9136 GB, free: 50.48 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.259, allocations: 305.4 kB / 0.9139 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.259, allocations: 4 kB / 0.9139 GB, free: 50.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004066/0.2594, allocations: 75.92 kB / 0.9139 GB, free: 50.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.2594, allocations: 0 / 0.9139 GB, free: 50.06 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.2594, allocations: 11.98 kB / 0.9139 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2594, allocations: 0 / 0.9139 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2594, allocations: 0 / 0.9139 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.2605, allocations: 0.495 MB / 0.9144 GB, free: 49.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.926e-05/0.2606, allocations: 124.7 kB / 0.9145 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.826e-05/0.2607, allocations: 7.938 kB / 0.9146 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003301/0.261, allocations: 51.95 kB / 0.9146 GB, free: 49.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.86e-05/0.2611, allocations: 15.97 kB / 0.9146 GB, free: 49.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.2611, allocations: 7.984 kB / 0.9146 GB, free: 49.31 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001323/0.2612, allocations: 187.1 kB / 0.9148 GB, free: 49.13 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.91e-07/0.2612, allocations: 0 / 0.9148 GB, free: 49.13 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003316/0.2616, allocations: 67.98 kB / 0.9149 GB, free: 49.07 MB / 0.6042 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.0002308/0.2618, allocations: 131.2 kB / 0.915 GB, free: 48.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001049/0.2629, allocations: 385.8 kB / 0.9154 GB, free: 48.55 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2629, allocations: 3.938 kB / 0.9154 GB, free: 48.55 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005111/0.2634, allocations: 196.7 kB / 0.9156 GB, free: 48.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.2638, allocations: 32.58 kB / 0.9156 GB, free: 48.33 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.2649, allocations: 0.6092 MB / 0.9162 GB, free: 47.69 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001845/0.2651, allocations: 0.7438 MB / 0.9169 GB, free: 46.92 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.2652, allocations: 31.41 kB / 0.9169 GB, free: 46.89 MB / 0.6042 GB Notification: Performance of SimCode: time 4.8e-07/0.2652, allocations: 0 / 0.9169 GB, free: 46.89 MB / 0.6042 GB Notification: Performance of Templates: time 0.005541/0.2708, allocations: 3.706 MB / 0.9206 GB, free: 43.2 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)