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.001607/0.001606, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 191.4 kB / 16.53 MB, free: 6.391 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.305/1.305, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.523/2.523, allocations: 469.8 MB / 0.7424 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 76.88 kB / 0.9087 GB, free: 34.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2409, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002597/0.2435, allocations: 1.6 MB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009653/0.2445, allocations: 0.6466 MB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.769e-05/0.2446, allocations: 0 / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001271/0.2447, allocations: 75.77 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.2449, allocations: 104.2 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.2452, allocations: 100.4 kB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.2454, allocations: 135.6 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.045e-05/0.2455, allocations: 11.98 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.2456, allocations: 67.86 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.2458, allocations: 103.7 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.2458, allocations: 4 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.2459, allocations: 87.84 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.158e-05/0.246, allocations: 31.86 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.543e-05/0.246, allocations: 55.61 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.2462, allocations: 171.8 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.2463, allocations: 4 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2463, allocations: 0 / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.216e-06/0.2463, allocations: 0 / 1.067 GB, free: 11.03 MB / 0.8262 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.0006201/0.2469, allocations: 472.4 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.771e-05/0.2469, allocations: 8.031 kB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.862e-05/0.247, allocations: 38.73 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.247, allocations: 16.75 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.2472, allocations: 219.9 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.2472, allocations: 4.375 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.2473, allocations: 8.375 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.2475, allocations: 124.6 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.2475, allocations: 4 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.2475, allocations: 0 / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-06/0.2475, allocations: 0 / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.2476, allocations: 75.89 kB / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003915/0.248, allocations: 408.8 kB / 1.069 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.2482, allocations: 117.1 kB / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.2483, allocations: 81.78 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.2483, allocations: 4.156 kB / 1.069 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002389/0.2486, allocations: 178.7 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.032e-06/0.2486, allocations: 0 / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0004629/0.249, allocations: 331.1 kB / 1.069 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.554e-05/0.2491, allocations: 106.8 kB / 1.069 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.2493, allocations: 217.3 kB / 1.069 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.2493, allocations: 29.7 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.516e-05/0.2494, allocations: 116.1 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.2494, allocations: 31.56 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-05/0.2495, allocations: 25.7 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.2496, allocations: 334.8 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.541e-05/0.2497, allocations: 63.97 kB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.871e-05/0.2498, allocations: 73.69 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.25, allocations: 213.2 kB / 1.07 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.25, allocations: 4 kB / 1.07 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003181/0.2504, allocations: 267.1 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.2504, allocations: 35.73 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.2504, allocations: 0 / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.787e-06/0.2504, allocations: 0 / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.126e-05/0.2505, allocations: 15.98 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.2505, allocations: 0 / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.313e-05/0.2506, allocations: 15.84 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.2506, allocations: 7.984 kB / 1.071 GB, free: 7.133 MB / 0.8262 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.0001438/0.2508, allocations: 179.5 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.2508, allocations: 23.73 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001763/0.251, allocations: 95.16 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.251, allocations: 4 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.251, allocations: 0 / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.251, allocations: 0 / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.2512, allocations: 233.5 kB / 1.071 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2512, allocations: 8 kB / 1.071 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.941e-05/0.2513, allocations: 8 kB / 1.071 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2513, allocations: 0 / 1.071 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.2513, allocations: 11.98 kB / 1.071 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2513, allocations: 0 / 1.071 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2513, allocations: 4.172 kB / 1.071 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003963/0.2517, allocations: 336.6 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.322e-05/0.2518, allocations: 104.9 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.2519, allocations: 4.125 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.895e-05/0.252, allocations: 11.98 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.252, allocations: 11.98 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.252, allocations: 8 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001383/0.2522, allocations: 171 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2522, allocations: 96 / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002195/0.2524, allocations: 43.94 kB / 1.072 GB, free: 5.785 MB / 0.8262 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.0007286/0.2531, allocations: 0.9002 MB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003121/0.2535, allocations: 251.3 kB / 1.073 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.2535, allocations: 0 / 1.073 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.2536, allocations: 163.3 kB / 1.073 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.2538, allocations: 23.94 kB / 1.073 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.256, allocations: 2.213 MB / 1.075 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.2563, allocations: 0.7236 MB / 1.076 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.786e-05/0.2564, allocations: 11.98 kB / 1.076 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.283e-05/0.2564, allocations: 47.42 kB / 1.076 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.2565, allocations: 0 / 1.076 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1209/0.3774, allocations: 3.469 MB / 1.079 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.188/8.565, allocations: 8.031 kB / 1.079 GB, free: 13.94 MB / 0.8419 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)