Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.455/1.455, allocations: 251.5 MB / 267.4 MB, free: 11.09 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.001077/0.001078, allocations: 175.3 kB / 326.5 MB, free: 2.719 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.931/1.931, allocations: 205 MB / 0.5766 GB, free: 21.02 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.0007991/0.0007987, allocations: 92.17 kB / 0.6803 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003306/0.0003306, allocations: 19.73 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2347, allocations: 105.4 MB / 0.8967 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002027/0.2368, allocations: 1.738 MB / 0.8984 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003324/0.2402, allocations: 3.674 MB / 0.902 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.2403, allocations: 3.938 kB / 0.902 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002792/0.2406, allocations: 47.75 kB / 0.9021 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002802/0.2409, allocations: 95.39 kB / 0.9022 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003088/0.2412, allocations: 111.8 kB / 0.9023 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002338/0.2414, allocations: 239.1 kB / 0.9025 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.2416, allocations: 52.3 kB / 0.9026 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.2417, allocations: 107.5 kB / 0.9027 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.2419, allocations: 99.52 kB / 0.9028 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.2419, allocations: 8 kB / 0.9028 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.2421, allocations: 103.8 kB / 0.9029 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.305e-05/0.2422, allocations: 43.77 kB / 0.9029 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.517e-05/0.2423, allocations: 87.39 kB / 0.903 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.2425, allocations: 183.6 kB / 0.9032 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2425, allocations: 0 / 0.9032 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.105e-06/0.2425, allocations: 4 kB / 0.9032 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.2425, allocations: 3.938 kB / 0.9032 GB, free: 61.61 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009885/0.2435, allocations: 0.5783 MB / 0.9037 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.2436, allocations: 12.03 kB / 0.9037 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.726e-05/0.2436, allocations: 24.66 kB / 0.9038 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/0.244, allocations: 267.7 kB / 0.904 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.244, allocations: 4.375 kB / 0.904 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.244, allocations: 8.375 kB / 0.904 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004459/0.2445, allocations: 193.6 kB / 0.9042 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.2445, allocations: 3.938 kB / 0.9042 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.2445, allocations: 8 kB / 0.9042 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.2445, allocations: 0 / 0.9042 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006258/0.2452, allocations: 235.8 kB / 0.9045 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007263/0.2459, allocations: 496.3 kB / 0.9049 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003591/0.2463, allocations: 146.5 kB / 0.9051 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003138/0.2466, allocations: 129 kB / 0.9052 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007467/0.2473, allocations: 0.5883 MB / 0.9058 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.2474, allocations: 30.56 kB / 0.9058 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.2474, allocations: 0 / 0.9058 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.001078/0.2485, allocations: 421.1 kB / 0.9062 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.2485, allocations: 55.41 kB / 0.9062 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.2487, allocations: 230.7 kB / 0.9065 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.2487, allocations: 29.7 kB / 0.9065 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.44e-05/0.2488, allocations: 144 kB / 0.9066 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.2488, allocations: 39.45 kB / 0.9067 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.2489, allocations: 17.72 kB / 0.9067 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.243e-05/0.2489, allocations: 330.8 kB / 0.907 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003171/0.2492, allocations: 123.8 kB / 0.9071 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003064/0.2496, allocations: 111.9 kB / 0.9072 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005995/0.2502, allocations: 240.7 kB / 0.9075 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.2502, allocations: 0 / 0.9075 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000698/0.2509, allocations: 305.8 kB / 0.9078 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.41e-05/0.2509, allocations: 4 kB / 0.9078 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.251, allocations: 0 / 0.9078 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.251, allocations: 4 kB / 0.9078 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.2513, allocations: 55.94 kB / 0.9078 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.2513, allocations: 3.938 kB / 0.9078 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.2515, allocations: 43.88 kB / 0.9079 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.2515, allocations: 4 kB / 0.9079 GB, free: 56.46 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 (11): * Single equations (assignments): 11 * 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 9.729e-05/0.2516, allocations: 129.8 kB / 0.908 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.288e-05/0.2517, allocations: 19.72 kB / 0.908 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007753/0.2525, allocations: 335.2 kB / 0.9083 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.2525, allocations: 0 / 0.9083 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.2525, allocations: 7.938 kB / 0.9083 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2525, allocations: 0 / 0.9083 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.2527, allocations: 273.4 kB / 0.9086 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2527, allocations: 0 / 0.9086 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002719/0.253, allocations: 59.88 kB / 0.9086 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.253, allocations: 4 kB / 0.9087 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.2531, allocations: 7.984 kB / 0.9087 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2531, allocations: 0 / 0.9087 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.2531, allocations: 7.875 kB / 0.9087 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007205/0.2538, allocations: 391.1 kB / 0.909 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.103e-05/0.2539, allocations: 112.8 kB / 0.9091 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.332e-05/0.2539, allocations: 4 kB / 0.9092 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002427/0.2542, allocations: 39.97 kB / 0.9092 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.62e-05/0.2543, allocations: 19.91 kB / 0.9092 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.2543, allocations: 4 kB / 0.9092 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001013/0.2544, allocations: 173.9 kB / 0.9094 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2544, allocations: 0 / 0.9094 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002885/0.2547, allocations: 60 kB / 0.9094 GB, free: 54.76 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 (11): * Single equations (assignments): 11 * 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.0001923/0.2549, allocations: 135.1 kB / 0.9096 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007426/0.2556, allocations: 255.8 kB / 0.9098 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2556, allocations: 0 / 0.9098 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003462/0.256, allocations: 139.8 kB / 0.9099 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.2564, allocations: 32.39 kB / 0.91 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007413/0.2572, allocations: 0.5017 MB / 0.9105 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/0.2573, allocations: 0.7355 MB / 0.9112 GB, free: 52.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.8e-05/0.2574, allocations: 23.41 kB / 0.9112 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of SimCode: time 3.1e-07/0.2574, allocations: 0 / 0.9112 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of Templates: time 0.004041/0.2615, allocations: 2.959 MB / 0.9141 GB, free: 49.95 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)