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.428/1.428, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.0009315/0.0009313, allocations: 172.6 kB / 326.5 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.097/2.097, allocations: 205 MB / 0.5766 GB, free: 20.99 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.0007873/0.0007873, allocations: 90.69 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005042/0.0005043, allocations: 8.281 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2504, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002373/0.2528, allocations: 1.863 MB / 0.8986 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004311/0.2571, allocations: 3.783 MB / 0.9023 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00022/0.2574, allocations: 0 / 0.9023 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003383/0.2577, allocations: 43.75 kB / 0.9023 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005021/0.2583, allocations: 115.2 kB / 0.9024 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000446/0.2587, allocations: 127.7 kB / 0.9025 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004052/0.2591, allocations: 286.9 kB / 0.9028 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.2593, allocations: 60.64 kB / 0.9029 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002801/0.2596, allocations: 119.5 kB / 0.903 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.2598, allocations: 131.4 kB / 0.9031 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.65e-05/0.2598, allocations: 12 kB / 0.9031 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002905/0.2601, allocations: 123.8 kB / 0.9032 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.106e-05/0.2602, allocations: 43.83 kB / 0.9033 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.2603, allocations: 115.2 kB / 0.9034 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003131/0.2607, allocations: 227.4 kB / 0.9036 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2607, allocations: 0 / 0.9036 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.675e-06/0.2607, allocations: 0 / 0.9036 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.2607, allocations: 0 / 0.9036 GB, free: 61.1 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.001183/0.2619, allocations: 0.6155 MB / 0.9042 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.2619, allocations: 12.03 kB / 0.9042 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000901/0.2628, allocations: 164.3 kB / 0.9044 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006806/0.2635, allocations: 328.3 kB / 0.9047 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.2636, allocations: 12.5 kB / 0.9047 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/0.2636, allocations: 15.94 kB / 0.9047 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006325/0.2642, allocations: 255 kB / 0.905 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.2643, allocations: 0 / 0.905 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.2643, allocations: 0 / 0.905 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.2643, allocations: 4 kB / 0.905 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000926/0.2652, allocations: 343.7 kB / 0.9053 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.2665, allocations: 0.594 MB / 0.9059 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005174/0.267, allocations: 202.4 kB / 0.9061 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005233/0.2676, allocations: 184.7 kB / 0.9062 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007468/0.2683, allocations: 0.5806 MB / 0.9068 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.2684, allocations: 38.48 kB / 0.9068 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.2684, allocations: 0 / 0.9068 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.001669/0.27, allocations: 0.5598 MB / 0.9074 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.2701, allocations: 55.34 kB / 0.9074 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/0.2704, allocations: 272.5 kB / 0.9077 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.2704, allocations: 29.7 kB / 0.9077 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.467e-05/0.2705, allocations: 148 kB / 0.9079 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.592e-05/0.2706, allocations: 47.36 kB / 0.9079 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/0.2706, allocations: 21.7 kB / 0.9079 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.512e-05/0.2707, allocations: 338.8 kB / 0.9083 GB, free: 56 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004907/0.2712, allocations: 175.9 kB / 0.9084 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004797/0.2717, allocations: 175.9 kB / 0.9086 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009859/0.2727, allocations: 355.5 kB / 0.9089 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.2727, allocations: 0 / 0.9089 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001104/0.2738, allocations: 425 kB / 0.9093 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.2739, allocations: 12 kB / 0.9093 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.2739, allocations: 0 / 0.9093 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.2739, allocations: 0 / 0.9093 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004481/0.2744, allocations: 91.84 kB / 0.9094 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.2744, allocations: 0 / 0.9094 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003364/0.2747, allocations: 59.73 kB / 0.9095 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.861e-05/0.2748, allocations: 11.98 kB / 0.9095 GB, free: 54.72 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001357/0.2749, allocations: 125.8 kB / 0.9096 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.286e-05/0.275, allocations: 27.66 kB / 0.9097 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.2761, allocations: 445.9 kB / 0.9101 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.2762, allocations: 4 kB / 0.9101 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.2762, allocations: 0 / 0.9101 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.2762, allocations: 7.938 kB / 0.9101 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003309/0.2765, allocations: 305.4 kB / 0.9104 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2765, allocations: 0 / 0.9104 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00038/0.2769, allocations: 75.92 kB / 0.9105 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.2769, allocations: 0 / 0.9105 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.277, allocations: 7.984 kB / 0.9105 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.277, allocations: 4 kB / 0.9105 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.277, allocations: 0 / 0.9105 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.2781, allocations: 0.5027 MB / 0.911 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.2782, allocations: 124.6 kB / 0.9111 GB, free: 53.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.389e-05/0.2783, allocations: 4 kB / 0.9111 GB, free: 53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003313/0.2786, allocations: 51.94 kB / 0.9111 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.776e-05/0.2787, allocations: 15.98 kB / 0.9111 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.2787, allocations: 7.922 kB / 0.9111 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001628/0.2789, allocations: 191.1 kB / 0.9113 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2789, allocations: 0 / 0.9113 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003826/0.2793, allocations: 71.98 kB / 0.9114 GB, free: 52.68 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000285/0.2796, allocations: 123.2 kB / 0.9115 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001188/0.2808, allocations: 383.7 kB / 0.9119 GB, free: 52.17 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.2808, allocations: 0 / 0.9119 GB, free: 52.17 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000541/0.2813, allocations: 203.8 kB / 0.9121 GB, free: 51.97 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005089/0.2819, allocations: 28.64 kB / 0.9121 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.283, allocations: 0.5947 MB / 0.9127 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.2832, allocations: 0.7477 MB / 0.9134 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.2833, allocations: 27.41 kB / 0.9134 GB, free: 50.52 MB / 0.6042 GB Notification: Performance of SimCode: time 3.61e-07/0.2833, allocations: 4 kB / 0.9134 GB, free: 50.52 MB / 0.6042 GB Notification: Performance of Templates: time 0.005835/0.2891, allocations: 3.697 MB / 0.9171 GB, free: 46.84 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)