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.413/1.413, allocations: 252 MB / 268 MB, free: 10.86 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.001097/0.001097, allocations: 196.8 kB / 327.6 MB, free: 2.074 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.851/1.851, allocations: 205.4 MB / 0.5786 GB, free: 20.14 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.0007655/0.0007655, allocations: 75.7 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005451/0.0005453, allocations: 9.469 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2751, allocations: 106.3 MB / 0.9014 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002247/0.2774, allocations: 1.842 MB / 0.9032 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003801/0.2813, allocations: 3.733 MB / 0.9069 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.2814, allocations: 0 / 0.9069 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002633/0.2817, allocations: 51.67 kB / 0.9069 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003558/0.2821, allocations: 115.5 kB / 0.9071 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003178/0.2824, allocations: 123.7 kB / 0.9072 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000297/0.2827, allocations: 298.9 kB / 0.9075 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.2828, allocations: 48.72 kB / 0.9075 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.283, allocations: 119.5 kB / 0.9076 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.2832, allocations: 135.3 kB / 0.9077 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.348e-05/0.2832, allocations: 12 kB / 0.9078 GB, free: 57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002183/0.2835, allocations: 123.8 kB / 0.9079 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.254e-05/0.2835, allocations: 47.75 kB / 0.9079 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.2837, allocations: 133 kB / 0.908 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.2839, allocations: 219.5 kB / 0.9083 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2839, allocations: 0 / 0.9083 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2839, allocations: 4 kB / 0.9083 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.2839, allocations: 0 / 0.9083 GB, free: 56.48 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.001116/0.2851, allocations: 0.6233 MB / 0.9089 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.2851, allocations: 8.031 kB / 0.9089 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008625/0.286, allocations: 160.4 kB / 0.909 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006613/0.2866, allocations: 328.3 kB / 0.9093 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/0.2867, allocations: 8.562 kB / 0.9094 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.588e-05/0.2867, allocations: 11.94 kB / 0.9094 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000656/0.2874, allocations: 257.5 kB / 0.9096 GB, free: 55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.2874, allocations: 0 / 0.9096 GB, free: 55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.2874, allocations: 0 / 0.9096 GB, free: 55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.2875, allocations: 7.938 kB / 0.9096 GB, free: 55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009656/0.2884, allocations: 347.6 kB / 0.9099 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.2897, allocations: 0.6018 MB / 0.9105 GB, free: 54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005273/0.2902, allocations: 206.4 kB / 0.9107 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004972/0.2907, allocations: 188.7 kB / 0.9109 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007372/0.2915, allocations: 0.5728 MB / 0.9115 GB, free: 52.92 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.2915, allocations: 30.56 kB / 0.9115 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.472e-06/0.2915, allocations: 0 / 0.9115 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.001604/0.2931, allocations: 0.5651 MB / 0.9121 GB, free: 52.31 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.2931, allocations: 55.34 kB / 0.9121 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.2934, allocations: 268.5 kB / 0.9124 GB, free: 51.98 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.2934, allocations: 29.7 kB / 0.9124 GB, free: 51.94 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.099e-05/0.2935, allocations: 148 kB / 0.9125 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/0.2935, allocations: 51.34 kB / 0.9126 GB, free: 51.74 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.829e-05/0.2935, allocations: 0 / 0.9126 GB, free: 51.74 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.423e-05/0.2936, allocations: 342.8 kB / 0.9129 GB, free: 51.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004809/0.2941, allocations: 175.9 kB / 0.9131 GB, free: 51.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004742/0.2946, allocations: 175.9 kB / 0.9132 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009589/0.2955, allocations: 351.4 kB / 0.9136 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.2956, allocations: 0 / 0.9136 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001071/0.2966, allocations: 425 kB / 0.914 GB, free: 50.29 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.2967, allocations: 14.44 kB / 0.914 GB, free: 50.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2967, allocations: 0 / 0.914 GB, free: 50.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.2967, allocations: 0 / 0.914 GB, free: 50.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004573/0.2972, allocations: 87.91 kB / 0.9141 GB, free: 50.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.2972, allocations: 3.984 kB / 0.9141 GB, free: 50.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003392/0.2975, allocations: 63.73 kB / 0.9141 GB, free: 50.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.2976, allocations: 11.98 kB / 0.9142 GB, free: 50.11 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.000121/0.2977, allocations: 125.8 kB / 0.9143 GB, free: 49.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.97e-05/0.2977, allocations: 23.72 kB / 0.9143 GB, free: 49.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/0.2989, allocations: 447.3 kB / 0.9147 GB, free: 49.51 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.299, allocations: 4 kB / 0.9147 GB, free: 49.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.299, allocations: 0 / 0.9147 GB, free: 49.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.299, allocations: 3.938 kB / 0.9147 GB, free: 49.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.2993, allocations: 309.2 kB / 0.915 GB, free: 49.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.2993, allocations: 0 / 0.915 GB, free: 49.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004014/0.2997, allocations: 87.84 kB / 0.9151 GB, free: 49.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.2997, allocations: 0 / 0.9151 GB, free: 49.06 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.2997, allocations: 0 / 0.9151 GB, free: 49.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2997, allocations: 0 / 0.9151 GB, free: 49.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2997, allocations: 4 kB / 0.9151 GB, free: 49.06 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.3008, allocations: 0.5019 MB / 0.9156 GB, free: 48.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.3009, allocations: 124.6 kB / 0.9157 GB, free: 48.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.843e-05/0.301, allocations: 4 kB / 0.9157 GB, free: 48.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003338/0.3013, allocations: 55.94 kB / 0.9158 GB, free: 48.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.886e-05/0.3014, allocations: 15.97 kB / 0.9158 GB, free: 48.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.3014, allocations: 7.938 kB / 0.9158 GB, free: 48.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001353/0.3016, allocations: 187.1 kB / 0.916 GB, free: 48.14 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3016, allocations: 0 / 0.916 GB, free: 48.14 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000341/0.3019, allocations: 71.92 kB / 0.916 GB, free: 48.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 (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.0002263/0.3022, allocations: 127.2 kB / 0.9162 GB, free: 47.94 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00111/0.3033, allocations: 379.7 kB / 0.9165 GB, free: 47.57 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3033, allocations: 0 / 0.9165 GB, free: 47.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005123/0.3038, allocations: 199.8 kB / 0.9167 GB, free: 47.37 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.3043, allocations: 34.25 kB / 0.9168 GB, free: 47.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009947/0.3053, allocations: 0.6307 MB / 0.9174 GB, free: 46.68 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/0.3054, allocations: 0.7477 MB / 0.9181 GB, free: 45.91 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.3056, allocations: 31.41 kB / 0.9181 GB, free: 45.88 MB / 0.6042 GB Notification: Performance of SimCode: time 4e-07/0.3056, allocations: 0 / 0.9181 GB, free: 45.88 MB / 0.6042 GB Notification: Performance of Templates: time 0.004842/0.3105, allocations: 3.698 MB / 0.9217 GB, free: 42.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)