Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001216, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001136, allocations: 193.8 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.165/1.165, allocations: 222.9 MB / 239.9 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.189/2.189, allocations: 437 MB / 0.7101 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 59.91 kB / 0.8689 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4394/0.4406, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002183/0.4428, allocations: 1.663 MB / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006648/0.4435, allocations: 0.5338 MB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.808e-05/0.4435, allocations: 0 / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.89e-05/0.4435, allocations: 3.938 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.000202/0.4438, allocations: 47.75 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 8.754e-05/0.4439, allocations: 27.97 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.444, allocations: 111.6 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.524e-05/0.4441, allocations: 19.97 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.673e-05/0.4442, allocations: 55.83 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.935e-05/0.4443, allocations: 51.77 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.4443, allocations: 8 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.008e-05/0.4443, allocations: 8 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.483e-05/0.4443, allocations: 27.91 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.675e-05/0.4444, allocations: 39.8 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.4445, allocations: 93.92 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.4445, allocations: 0 / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4445, allocations: 0 / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.4445, allocations: 4 kB / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006048/0.4451, allocations: 407.1 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.4452, allocations: 8.031 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.509e-05/0.4452, allocations: 42.73 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.869e-05/0.4452, allocations: 8.844 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.4454, allocations: 180.2 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.4454, allocations: 8.359 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.4454, allocations: 4.375 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.4455, allocations: 85.78 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.4456, allocations: 3.984 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.4456, allocations: 8 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.738e-06/0.4456, allocations: 0 / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.414e-05/0.4457, allocations: 47.97 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004051/0.4461, allocations: 344.5 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/0.4463, allocations: 110.7 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.699e-05/0.4464, allocations: 40.84 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.4464, allocations: 7.984 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.4466, allocations: 95.3 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.4466, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0002647/0.4469, allocations: 145.5 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.4469, allocations: 63.41 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.89e-05/0.447, allocations: 130.1 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.447, allocations: 25.7 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.792e-05/0.4471, allocations: 96.28 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.147e-05/0.4471, allocations: 35.62 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.4472, allocations: 33.64 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.602e-05/0.4472, allocations: 322.8 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.923e-05/0.4473, allocations: 20 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.725e-05/0.4473, allocations: 27.98 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.629e-05/0.4475, allocations: 68.84 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.4475, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000157/0.4476, allocations: 118.8 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/0.4476, allocations: 4 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.4476, allocations: 4 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.4477, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.555e-05/0.4478, allocations: 15.98 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.4478, allocations: 4 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.982e-05/0.4479, allocations: 19.86 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.4479, allocations: 4 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 7.132e-05/0.448, allocations: 121.8 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.86e-05/0.448, allocations: 11.89 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/0.4482, allocations: 145.3 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.4482, allocations: 0 / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.4482, allocations: 0 / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.4483, allocations: 3.938 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.4484, allocations: 213.5 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4484, allocations: 4 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.639e-05/0.4485, allocations: 23.92 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.4485, allocations: 0 / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.4485, allocations: 0 / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4485, allocations: 0 / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.4485, allocations: 0 / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.4487, allocations: 168.9 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.434e-05/0.4488, allocations: 88.94 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.4488, allocations: 8 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.4489, allocations: 11.98 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.449, allocations: 15.86 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.449, allocations: 4 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.323e-05/0.449, allocations: 99.27 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.449, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001848/0.4492, allocations: 24 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004118/0.4496, allocations: 0.7079 MB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001699/0.4498, allocations: 91.91 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.4498, allocations: 0 / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.133e-05/0.4499, allocations: 48.92 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.4501, allocations: 15.88 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.4512, allocations: 1.472 MB / 1.025 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001837/0.4514, allocations: 0.6963 MB / 1.026 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.394e-05/0.4515, allocations: 12.55 kB / 1.026 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.925e-05/0.4516, allocations: 35.42 kB / 1.026 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.4516, allocations: 0 / 1.026 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.16/2.611, allocations: 2.165 MB / 1.028 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002258/2.612, allocations: 224.1 kB / 1.028 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.115/4.726, allocations: 0 / 1.028 GB, free: 6.824 MB / 0.7794 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)