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: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.58/1.58, allocations: 252 MB / 267.3 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.00119/0.00119, allocations: 177 kB / 327 MB, free: 2.105 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.19/2.19, allocations: 205.4 MB / 0.578 GB, free: 20.13 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.0009323/0.0009322, allocations: 86.36 kB / 0.6826 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003397, allocations: 9 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.231, allocations: 106.4 MB / 0.9009 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002192/0.2332, allocations: 1.717 MB / 0.9026 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004251/0.2375, allocations: 3.624 MB / 0.9061 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001905/0.2378, allocations: 0 / 0.9061 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003032/0.2381, allocations: 44.03 kB / 0.9062 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004222/0.2385, allocations: 103.3 kB / 0.9063 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004349/0.239, allocations: 111.8 kB / 0.9064 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003665/0.2393, allocations: 243.1 kB / 0.9066 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.2395, allocations: 44.38 kB / 0.9067 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002639/0.2398, allocations: 99.55 kB / 0.9068 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.2399, allocations: 103.5 kB / 0.9069 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.134e-05/0.24, allocations: 7.938 kB / 0.9069 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002607/0.2403, allocations: 111.8 kB / 0.907 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.925e-05/0.2403, allocations: 43.75 kB / 0.907 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.2405, allocations: 109.2 kB / 0.9071 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003787/0.2408, allocations: 267 kB / 0.9074 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2409, allocations: 0 / 0.9074 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.036e-06/0.2409, allocations: 4 kB / 0.9074 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.2409, allocations: 0 / 0.9074 GB, free: 56.79 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.001228/0.2421, allocations: 0.5803 MB / 0.9079 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.254e-05/0.2422, allocations: 8.031 kB / 0.9079 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.508e-05/0.2423, allocations: 42.73 kB / 0.908 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.779e-05/0.2424, allocations: 24.66 kB / 0.908 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004796/0.2428, allocations: 271.6 kB / 0.9083 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.2429, allocations: 8.312 kB / 0.9083 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.2429, allocations: 8.375 kB / 0.9083 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004919/0.2434, allocations: 195.7 kB / 0.9085 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.2434, allocations: 0 / 0.9085 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.2434, allocations: 4 kB / 0.9085 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.2435, allocations: 4 kB / 0.9085 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006865/0.2441, allocations: 231.8 kB / 0.9087 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009155/0.2451, allocations: 496.4 kB / 0.9092 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003798/0.2455, allocations: 146.5 kB / 0.9093 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003343/0.2458, allocations: 132.8 kB / 0.9094 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008129/0.2466, allocations: 0.5689 MB / 0.91 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.2467, allocations: 38.55 kB / 0.91 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 2.234e-06/0.2467, allocations: 0 / 0.91 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.001212/0.2479, allocations: 421.2 kB / 0.9104 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.2479, allocations: 63.34 kB / 0.9105 GB, free: 53.28 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.2481, allocations: 230.7 kB / 0.9107 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.2482, allocations: 29.7 kB / 0.9107 GB, free: 53.01 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.636e-05/0.2483, allocations: 136 kB / 0.9109 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.677e-05/0.2483, allocations: 35.45 kB / 0.9109 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.402e-05/0.2483, allocations: 8 kB / 0.9109 GB, free: 52.83 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.902e-05/0.2484, allocations: 330.8 kB / 0.9112 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003277/0.2488, allocations: 115.9 kB / 0.9113 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003149/0.2491, allocations: 119.9 kB / 0.9115 GB, free: 52.27 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006547/0.2498, allocations: 253.2 kB / 0.9117 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2498, allocations: 0 / 0.9117 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007288/0.2505, allocations: 301.2 kB / 0.912 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.2505, allocations: 4 kB / 0.912 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/0.2506, allocations: 0 / 0.912 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.2506, allocations: 0 / 0.912 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003202/0.2509, allocations: 55.95 kB / 0.912 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.2509, allocations: 3.938 kB / 0.912 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.2512, allocations: 43.83 kB / 0.9121 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.2512, allocations: 4 kB / 0.9121 GB, free: 51.61 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 0.0001124/0.2513, allocations: 137.8 kB / 0.9122 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.006e-05/0.2514, allocations: 23.66 kB / 0.9122 GB, free: 51.44 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008388/0.2522, allocations: 319.2 kB / 0.9125 GB, free: 51.13 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.2522, allocations: 0 / 0.9125 GB, free: 51.13 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.2522, allocations: 7.938 kB / 0.9126 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2522, allocations: 0 / 0.9126 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002653/0.2525, allocations: 269.5 kB / 0.9128 GB, free: 50.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2525, allocations: 4 kB / 0.9128 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002828/0.2528, allocations: 55.88 kB / 0.9129 GB, free: 50.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.2528, allocations: 8 kB / 0.9129 GB, free: 50.74 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.885e-05/0.2529, allocations: 3.984 kB / 0.9129 GB, free: 50.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.2529, allocations: 0 / 0.9129 GB, free: 50.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.2529, allocations: 3.938 kB / 0.9129 GB, free: 50.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007438/0.2536, allocations: 403 kB / 0.9133 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.492e-05/0.2537, allocations: 112.8 kB / 0.9134 GB, free: 50.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/0.2538, allocations: 4 kB / 0.9134 GB, free: 50.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.254, allocations: 39.97 kB / 0.9134 GB, free: 50.15 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.601e-05/0.2541, allocations: 15.91 kB / 0.9134 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.2541, allocations: 8 kB / 0.9134 GB, free: 50.13 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001239/0.2542, allocations: 170 kB / 0.9136 GB, free: 49.96 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2542, allocations: 3.938 kB / 0.9136 GB, free: 49.96 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003112/0.2546, allocations: 55.94 kB / 0.9137 GB, free: 49.91 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.001094/0.2557, allocations: 0.962 MB / 0.9146 GB, free: 48.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007698/0.2564, allocations: 263.7 kB / 0.9149 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2565, allocations: 0 / 0.9149 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003564/0.2568, allocations: 144.5 kB / 0.915 GB, free: 48.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004822/0.2573, allocations: 34.22 kB / 0.915 GB, free: 48.48 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003826/0.2612, allocations: 2.641 MB / 0.9176 GB, free: 45.76 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.2614, allocations: 0.7353 MB / 0.9183 GB, free: 45 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002272/0.2617, allocations: 40.78 kB / 0.9184 GB, free: 44.96 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.2618, allocations: 63.41 kB / 0.9184 GB, free: 44.89 MB / 0.6042 GB Notification: Performance of SimCode: time 8.31e-07/0.2618, allocations: 0 / 0.9184 GB, free: 44.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01488/0.2767, allocations: 4.429 MB / 0.9227 GB, free: 40.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002294/0.277, allocations: 240.5 kB / 0.923 GB, free: 40.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.033/2.31, allocations: 0 / 0.923 GB, free: 40.4 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)