Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.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.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",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.007166/0.007166, allocations: 97.98 kB / 15.73 MB, free: 6.062 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.002153/0.002153, allocations: 202 kB / 16.68 MB, free: 5.977 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.229/1.229, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.372/2.372, allocations: 469.8 MB / 0.7426 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 67.89 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2464, allocations: 159.1 MB / 1.22 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002361/0.2488, allocations: 1.611 MB / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.2498, allocations: 0.6466 MB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.915e-05/0.2499, allocations: 4 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.25, allocations: 71.83 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002344/0.2503, allocations: 111.6 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000291/0.2506, allocations: 99.02 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000166/0.2507, allocations: 139.6 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.451e-05/0.2508, allocations: 12 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.2509, allocations: 71.73 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.2511, allocations: 103.8 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.2511, allocations: 8 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.2512, allocations: 79.94 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.407e-05/0.2513, allocations: 35.83 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.614e-05/0.2514, allocations: 59.61 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.2516, allocations: 163.4 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.2516, allocations: 0 / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.193e-06/0.2516, allocations: 0 / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.576e-06/0.2516, allocations: 0 / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006118/0.2522, allocations: 488.2 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.856e-05/0.2523, allocations: 12.03 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.259e-05/0.2523, allocations: 42.69 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.2523, allocations: 16.84 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.2526, allocations: 216 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.2526, allocations: 4.375 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.2526, allocations: 4.375 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.2528, allocations: 127.5 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.2528, allocations: 0 / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.2528, allocations: 8 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.2528, allocations: 0 / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.253, allocations: 71.91 kB / 1.224 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003824/0.2533, allocations: 400.9 kB / 1.225 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.2535, allocations: 117.1 kB / 1.225 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.809e-05/0.2536, allocations: 85.78 kB / 1.225 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.2537, allocations: 4 kB / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002156/0.2539, allocations: 178.8 kB / 1.225 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 3.246e-06/0.2539, allocations: 0 / 1.225 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0004573/0.2544, allocations: 335.1 kB / 1.225 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.2544, allocations: 114.8 kB / 1.225 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.2546, allocations: 216.1 kB / 1.226 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.2546, allocations: 25.7 kB / 1.226 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.452e-05/0.2547, allocations: 112.1 kB / 1.226 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.527e-05/0.2547, allocations: 39.73 kB / 1.226 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-05/0.2548, allocations: 29.66 kB / 1.226 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.2549, allocations: 334.8 kB / 1.226 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.607e-05/0.255, allocations: 59.97 kB / 1.226 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.023e-05/0.2551, allocations: 81.69 kB / 1.226 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.2553, allocations: 189 kB / 1.226 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2553, allocations: 0 / 1.226 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003049/0.2556, allocations: 271.1 kB / 1.227 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/0.2557, allocations: 39.56 kB / 1.227 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2557, allocations: 4 kB / 1.227 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.2557, allocations: 0 / 1.227 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.143e-05/0.2558, allocations: 8.312 kB / 1.227 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.2558, allocations: 8 kB / 1.227 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.91e-05/0.2559, allocations: 19.92 kB / 1.227 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.2559, allocations: 4 kB / 1.227 GB, free: 7.121 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (decAng.tNext,$PRE.decAng.tNext,$whenCondition2,solDecNOAA.nextEventScaled,solDecNOAA.nextEvent,$PRE.solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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.0001386/0.2561, allocations: 186.5 kB / 1.227 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.059e-05/0.2561, allocations: 23.84 kB / 1.227 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001832/0.2563, allocations: 99.09 kB / 1.227 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.2563, allocations: 11.94 kB / 1.227 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.2563, allocations: 0 / 1.227 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2563, allocations: 0 / 1.227 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.2565, allocations: 229.5 kB / 1.227 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2565, allocations: 0 / 1.227 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.618e-05/0.2565, allocations: 12 kB / 1.227 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2566, allocations: 0 / 1.227 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.2566, allocations: 4 kB / 1.227 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2566, allocations: 0 / 1.227 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2566, allocations: 0 / 1.227 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003881/0.257, allocations: 339.4 kB / 1.228 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.023e-05/0.2571, allocations: 112.9 kB / 1.228 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/0.2571, allocations: 8 kB / 1.228 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.228e-05/0.2572, allocations: 7.984 kB / 1.228 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.2572, allocations: 8 kB / 1.228 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.2573, allocations: 11.98 kB / 1.228 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000125/0.2574, allocations: 155.2 kB / 1.228 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2574, allocations: 4 kB / 1.228 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002333/0.2576, allocations: 43.92 kB / 1.228 GB, free: 5.77 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,decAng.tNext,$whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 7 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1,decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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.0006987/0.2583, allocations: 0.8998 MB / 1.229 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002944/0.2586, allocations: 243.3 kB / 1.229 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.2587, allocations: 0 / 1.229 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.2588, allocations: 171.3 kB / 1.229 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.259, allocations: 8 kB / 1.229 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.2611, allocations: 2.243 MB / 1.231 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.2614, allocations: 0.7236 MB / 1.232 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.693e-05/0.2614, allocations: 4 kB / 1.232 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.252e-05/0.2615, allocations: 43.61 kB / 1.232 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of SimCode: time 2.1e-07/0.2615, allocations: 0 / 1.232 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.02/1.281, allocations: 3.535 MB / 1.236 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/13.36, allocations: 13.92 kB / 1.236 GB, free: 13.86 MB / 0.9981 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)