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.37/1.37, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001211/0.001211, allocations: 185.3 kB / 326.5 MB, free: 2.242 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.821/1.821, allocations: 205.4 MB / 0.5775 GB, free: 20.33 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.0008625/0.0008626, allocations: 94.5 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003329/0.0003329, allocations: 10.59 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1958, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.001714/0.1976, allocations: 1.648 MB / 0.9018 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002819/0.2004, allocations: 3.256 MB / 0.9049 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.472e-05/0.2005, allocations: 0 / 0.9049 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001789/0.2007, allocations: 43.75 kB / 0.905 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002273/0.201, allocations: 111.6 kB / 0.9051 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.2012, allocations: 99.75 kB / 0.9052 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.2014, allocations: 159.6 kB / 0.9053 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.2015, allocations: 48.5 kB / 0.9054 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/0.2017, allocations: 91.67 kB / 0.9055 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.2018, allocations: 99.58 kB / 0.9056 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.2018, allocations: 8 kB / 0.9056 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.202, allocations: 95.84 kB / 0.9057 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.551e-05/0.202, allocations: 43.81 kB / 0.9057 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.717e-05/0.2021, allocations: 53.64 kB / 0.9058 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.2023, allocations: 179.8 kB / 0.9059 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2023, allocations: 0 / 0.9059 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2023, allocations: 3.938 kB / 0.9059 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.2023, allocations: 0 / 0.9059 GB, free: 57.92 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.0009843/0.2033, allocations: 0.5841 MB / 0.9065 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.2033, allocations: 12.03 kB / 0.9065 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.783e-05/0.2034, allocations: 38.55 kB / 0.9065 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.07e-05/0.2034, allocations: 23.72 kB / 0.9066 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.2038, allocations: 266.5 kB / 0.9068 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.2038, allocations: 8 kB / 0.9068 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.2038, allocations: 8 kB / 0.9068 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004475/0.2043, allocations: 191 kB / 0.907 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.2043, allocations: 3.984 kB / 0.907 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.2043, allocations: 8 kB / 0.907 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.2043, allocations: 0 / 0.907 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006562/0.205, allocations: 235.8 kB / 0.9073 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000775/0.2058, allocations: 496.5 kB / 0.9077 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003723/0.2062, allocations: 150.4 kB / 0.9079 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000776/0.207, allocations: 0.5808 MB / 0.9084 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.207, allocations: 34.5 kB / 0.9085 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.663e-06/0.207, allocations: 0 / 0.9085 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.001115/0.2081, allocations: 417 kB / 0.9089 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.2082, allocations: 55.41 kB / 0.9089 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.2083, allocations: 234.7 kB / 0.9091 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.2084, allocations: 25.7 kB / 0.9092 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.4e-05/0.2084, allocations: 140.1 kB / 0.9093 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.721e-05/0.2085, allocations: 35.41 kB / 0.9093 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.143e-05/0.2085, allocations: 0 / 0.9093 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.585e-05/0.2086, allocations: 330.8 kB / 0.9097 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003214/0.2089, allocations: 123.8 kB / 0.9098 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003073/0.2092, allocations: 120.3 kB / 0.9099 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003157/0.2096, allocations: 116.1 kB / 0.91 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2096, allocations: 4 kB / 0.91 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007/0.2103, allocations: 305.1 kB / 0.9103 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.2103, allocations: 6.812 kB / 0.9103 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2103, allocations: 0 / 0.9103 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.2103, allocations: 0 / 0.9103 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/0.2106, allocations: 59.94 kB / 0.9104 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.2107, allocations: 7.938 kB / 0.9104 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.2109, allocations: 35.88 kB / 0.9104 GB, free: 53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.2109, allocations: 7.984 kB / 0.9104 GB, free: 52.99 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.211, allocations: 125.8 kB / 0.9105 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.36e-05/0.2111, allocations: 23.77 kB / 0.9105 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008227/0.2119, allocations: 323.1 kB / 0.9109 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2119, allocations: 0 / 0.9109 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2119, allocations: 4 kB / 0.9109 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.2119, allocations: 0 / 0.9109 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.2122, allocations: 277.4 kB / 0.9111 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2122, allocations: 0 / 0.9111 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002696/0.2125, allocations: 55.94 kB / 0.9112 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.2125, allocations: 4 kB / 0.9112 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.2125, allocations: 7.891 kB / 0.9112 GB, free: 52.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.2125, allocations: 0 / 0.9112 GB, free: 52.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2125, allocations: 0 / 0.9112 GB, free: 52.13 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007392/0.2133, allocations: 403 kB / 0.9116 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.692e-05/0.2134, allocations: 116.7 kB / 0.9117 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/0.2134, allocations: 4 kB / 0.9117 GB, free: 51.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.2136, allocations: 43.91 kB / 0.9117 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.929e-05/0.2137, allocations: 11.98 kB / 0.9117 GB, free: 51.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.2137, allocations: 11.98 kB / 0.9118 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001176/0.2139, allocations: 166 kB / 0.9119 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2139, allocations: 0 / 0.9119 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003281/0.2142, allocations: 55.98 kB / 0.912 GB, free: 51.3 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 (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.001129/0.2153, allocations: 0.9658 MB / 0.9129 GB, free: 50.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007021/0.216, allocations: 264.2 kB / 0.9132 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2161, allocations: 0 / 0.9132 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003347/0.2164, allocations: 135.8 kB / 0.9133 GB, free: 49.91 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.2167, allocations: 36.73 kB / 0.9133 GB, free: 49.88 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.2191, allocations: 1.471 MB / 0.9148 GB, free: 48.36 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/0.2192, allocations: 0.7508 MB / 0.9155 GB, free: 47.58 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001974/0.2194, allocations: 36.83 kB / 0.9155 GB, free: 47.54 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.2195, allocations: 67.39 kB / 0.9156 GB, free: 47.48 MB / 0.6042 GB Notification: Performance of SimCode: time 4.31e-07/0.2196, allocations: 0 / 0.9156 GB, free: 47.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01409/0.2337, allocations: 4.364 MB / 0.9199 GB, free: 43.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001474/0.2338, allocations: 214.4 kB / 0.9201 GB, free: 43.08 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/1.953, allocations: 0 / 0.9201 GB, free: 43.08 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)