Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_latest_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.001253/0.001253, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001308/0.001308, allocations: 191.5 kB / 16.25 MB, free: 6.637 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.31/1.31, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.484/2.484, allocations: 461.9 MB / 0.7344 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 66.16 kB / 0.8987 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2333, allocations: 157.4 MB / 1.052 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002542/0.2358, allocations: 1.669 MB / 1.054 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000794/0.2366, allocations: 0.5337 MB / 1.055 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.789e-05/0.2367, allocations: 0 / 1.055 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.273e-05/0.2368, allocations: 7.922 kB / 1.055 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002311/0.237, allocations: 35.83 kB / 1.055 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001105/0.2371, allocations: 35.95 kB / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.2372, allocations: 111.6 kB / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.35e-05/0.2373, allocations: 16 kB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.2374, allocations: 51.77 kB / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.951e-05/0.2375, allocations: 47.83 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.2376, allocations: 8 kB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.715e-05/0.2376, allocations: 12 kB / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.971e-05/0.2376, allocations: 27.91 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.213e-05/0.2377, allocations: 43.78 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.2378, allocations: 87.97 kB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.2378, allocations: 0 / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2378, allocations: 0 / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.2378, allocations: 0 / 1.055 GB, free: 5.934 MB / 0.8106 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.0006552/0.2385, allocations: 403.2 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.2385, allocations: 8.625 kB / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.031e-05/0.2386, allocations: 38.73 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.2386, allocations: 16.78 kB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.2388, allocations: 184.2 kB / 1.056 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.2388, allocations: 4.375 kB / 1.056 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.2388, allocations: 8.375 kB / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.239, allocations: 89.7 kB / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.239, allocations: 0 / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.239, allocations: 4 kB / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.239, allocations: 4 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.2391, allocations: 53.73 kB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004489/0.2396, allocations: 336.7 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002581/0.2399, allocations: 110.7 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.363e-05/0.2399, allocations: 44.84 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.24, allocations: 4 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000189/0.2402, allocations: 95.28 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.452e-06/0.2402, allocations: 0 / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0003016/0.2405, allocations: 149.4 kB / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.2405, allocations: 63.39 kB / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.844e-05/0.2406, allocations: 125.7 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.2406, allocations: 29.7 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.465e-05/0.2407, allocations: 100.3 kB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.642e-05/0.2407, allocations: 31.55 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.762e-05/0.2408, allocations: 29.7 kB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.056e-05/0.2409, allocations: 322.8 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.718e-05/0.2409, allocations: 27.98 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.054e-05/0.241, allocations: 35.98 kB / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.2411, allocations: 64.8 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2411, allocations: 0 / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001603/0.2413, allocations: 112.6 kB / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.2413, allocations: 7.984 kB / 1.057 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2413, allocations: 0 / 1.057 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.2413, allocations: 4 kB / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.2414, allocations: 19.98 kB / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.2414, allocations: 0 / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.2415, allocations: 15.94 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.2415, allocations: 0 / 1.057 GB, free: 3.207 MB / 0.8106 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.154e-05/0.2416, allocations: 131.3 kB / 1.058 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.2417, allocations: 7.891 kB / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/0.2419, allocations: 146 kB / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2419, allocations: 3.938 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.2419, allocations: 0 / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2419, allocations: 3.938 kB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.2421, allocations: 221.4 kB / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2421, allocations: 0 / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.531e-05/0.2422, allocations: 15.94 kB / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.2422, allocations: 4 kB / 1.058 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.2422, allocations: 4 kB / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.2422, allocations: 3.984 kB / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2422, allocations: 0 / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.2424, allocations: 156.9 kB / 1.058 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.654e-05/0.2425, allocations: 92.95 kB / 1.058 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.2425, allocations: 4 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.2426, allocations: 11.98 kB / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.2426, allocations: 15.92 kB / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.2427, allocations: 8 kB / 1.058 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.509e-05/0.2427, allocations: 99.2 kB / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2427, allocations: 0 / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002045/0.2429, allocations: 24 kB / 1.058 GB, free: 2.172 MB / 0.8106 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.0004461/0.2434, allocations: 0.6967 MB / 1.059 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001816/0.2436, allocations: 91.91 kB / 1.059 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2436, allocations: 0 / 1.059 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.102e-05/0.2437, allocations: 47.92 kB / 1.059 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/0.2438, allocations: 19.92 kB / 1.059 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.2451, allocations: 1.48 MB / 1.061 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001899/0.2453, allocations: 0.7039 MB / 1.061 GB, free: 15 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.647e-05/0.2453, allocations: 8.562 kB / 1.061 GB, free: 15 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.414e-05/0.2454, allocations: 31.42 kB / 1.061 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of SimCode: time 3.4e-07/0.2454, allocations: 0 / 1.061 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2704/0.5158, allocations: 2.158 MB / 1.063 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000233/0.5161, allocations: 238.1 kB / 1.064 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.186/2.702, allocations: 0 / 1.064 GB, free: 12.72 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)