Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_11_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.004423/0.004424, allocations: 98.97 kB / 15.73 MB, free: 6.016 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.001323/0.001323, allocations: 201.5 kB / 16.68 MB, free: 5.93 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.216/1.216, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.387/2.387, allocations: 469.8 MB / 0.7425 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 63.84 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5831/0.5848, allocations: 159.1 MB / 1.22 GB, free: 1.996 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002387/0.5872, allocations: 1.602 MB / 1.222 GB, free: 396 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008211/0.5881, allocations: 0.5503 MB / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.393e-05/0.5881, allocations: 0 / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.441e-05/0.5882, allocations: 11.86 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002258/0.5884, allocations: 39.77 kB / 1.222 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001078/0.5885, allocations: 43.88 kB / 1.222 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.5886, allocations: 107.6 kB / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.828e-05/0.5887, allocations: 15.98 kB / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.944e-05/0.5888, allocations: 51.83 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 9.999e-05/0.5889, allocations: 51.77 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.589, allocations: 16 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 2.09e-05/0.589, allocations: 8 kB / 1.223 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.925e-05/0.589, allocations: 19.91 kB / 1.223 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.556e-05/0.5891, allocations: 43.8 kB / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.5892, allocations: 94.34 kB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.5892, allocations: 0 / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5892, allocations: 0 / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.5892, allocations: 0 / 1.223 GB, free: 15.34 MB / 0.9512 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.000637/0.5899, allocations: 408 kB / 1.223 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.5899, allocations: 12.03 kB / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.222e-05/0.59, allocations: 38.73 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.926e-05/0.59, allocations: 8.891 kB / 1.223 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.5901, allocations: 184.2 kB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.5902, allocations: 4.375 kB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.5902, allocations: 8.359 kB / 1.223 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.5903, allocations: 85.78 kB / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.5904, allocations: 7.938 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.5904, allocations: 3.984 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.5904, allocations: 4 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.5905, allocations: 51.91 kB / 1.224 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004366/0.5909, allocations: 340.6 kB / 1.224 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.5912, allocations: 110.7 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.984e-05/0.5913, allocations: 44.78 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.5913, allocations: 0 / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001824/0.5915, allocations: 99.31 kB / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 3.026e-06/0.5915, allocations: 3.984 kB / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.0002925/0.5918, allocations: 149.5 kB / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.5918, allocations: 51.41 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.493e-05/0.5919, allocations: 133.8 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.592, allocations: 29.7 kB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.013e-05/0.592, allocations: 88.38 kB / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.5921, allocations: 39.83 kB / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.49e-05/0.5921, allocations: 25.7 kB / 1.225 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.5922, allocations: 314.8 kB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.975e-05/0.5923, allocations: 31.98 kB / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.149e-05/0.5923, allocations: 31.98 kB / 1.225 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.5924, allocations: 64.84 kB / 1.225 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.5925, allocations: 0 / 1.225 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001652/0.5926, allocations: 116.1 kB / 1.225 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.5926, allocations: 4 kB / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-06/0.5926, allocations: 0 / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/0.5927, allocations: 0 / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.693e-05/0.5928, allocations: 23.98 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.5928, allocations: 0 / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.654e-05/0.5929, allocations: 19.86 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.5929, allocations: 8 kB / 1.225 GB, free: 12.61 MB / 0.9512 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 8.236e-05/0.593, allocations: 118.3 kB / 1.225 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.728e-05/0.593, allocations: 7.953 kB / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002459/0.5933, allocations: 150 kB / 1.225 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.5933, allocations: 4 kB / 1.225 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.5933, allocations: 3.938 kB / 1.225 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5933, allocations: 3.938 kB / 1.225 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.5935, allocations: 213.5 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.5935, allocations: 4 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.325e-05/0.5935, allocations: 19.92 kB / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.5936, allocations: 0 / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.5936, allocations: 4 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.5936, allocations: 0 / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-07/0.5936, allocations: 0 / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.5938, allocations: 161 kB / 1.226 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.105e-05/0.5939, allocations: 96.98 kB / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.5939, allocations: 7.938 kB / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.248e-05/0.594, allocations: 8 kB / 1.226 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.594, allocations: 19.91 kB / 1.226 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.5941, allocations: 4 kB / 1.226 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.942e-05/0.5941, allocations: 96.14 kB / 1.226 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.663e-06/0.5941, allocations: 4 kB / 1.226 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001799/0.5943, allocations: 23.94 kB / 1.226 GB, free: 11.57 MB / 0.9512 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.0004937/0.5948, allocations: 0.7012 MB / 1.227 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001705/0.595, allocations: 83.91 kB / 1.227 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.595, allocations: 0 / 1.227 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.633e-05/0.5951, allocations: 55.92 kB / 1.227 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.5952, allocations: 8.266 kB / 1.227 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.5965, allocations: 1.459 MB / 1.228 GB, free: 9.164 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.5968, allocations: 0.7079 MB / 1.229 GB, free: 8.43 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.643e-05/0.5969, allocations: 8.562 kB / 1.229 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.15e-05/0.5969, allocations: 31.42 kB / 1.229 GB, free: 8.395 MB / 0.9512 GB Notification: Performance of SimCode: time 2.01e-07/0.5969, allocations: 0 / 1.229 GB, free: 8.395 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.876/6.473, allocations: 2.319 MB / 1.231 GB, free: 6.227 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/16.81, allocations: 7.875 kB / 1.231 GB, free: 6.219 MB / 0.9512 GB (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)