Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_10_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.001192/0.001192, 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.001161/0.001161, allocations: 193.5 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.166/1.166, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.247/2.247, allocations: 437.1 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 63.91 kB / 0.8694 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4718/0.473, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.00259/0.4756, allocations: 1.604 MB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009897/0.4766, allocations: 0.6426 MB / 1.02 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.148e-05/0.4767, allocations: 3.938 kB / 1.02 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.000126/0.4769, allocations: 79.81 kB / 1.02 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002508/0.4771, allocations: 103.7 kB / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.4775, allocations: 91.88 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000171/0.4777, allocations: 135.5 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.323e-05/0.4777, allocations: 19.98 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.4779, allocations: 59.88 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.4781, allocations: 111.7 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.288e-05/0.4781, allocations: 8 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.4782, allocations: 75.94 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.706e-05/0.4783, allocations: 31.84 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.723e-05/0.4784, allocations: 55.61 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.4786, allocations: 157.8 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.4786, allocations: 0 / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4786, allocations: 4 kB / 1.021 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.4786, allocations: 0 / 1.021 GB, free: 15.28 MB / 0.7794 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.0006102/0.4792, allocations: 480.4 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.4793, allocations: 12.03 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.338e-05/0.4793, allocations: 34.75 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.4793, allocations: 16.75 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.4795, allocations: 223.8 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.4795, allocations: 4.375 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.4796, allocations: 12.38 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.4798, allocations: 123.5 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.892e-06/0.4798, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.4798, allocations: 4 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.4798, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.4799, allocations: 75.91 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003701/0.4803, allocations: 408.9 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.4805, allocations: 117.1 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.341e-05/0.4806, allocations: 81.78 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.4806, allocations: 0 / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002481/0.4809, allocations: 186.2 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.4809, allocations: 3.938 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0004518/0.4813, allocations: 331 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.4814, allocations: 114.8 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.4816, allocations: 214.6 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.4816, allocations: 25.7 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.002e-05/0.4817, allocations: 116.1 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.4817, allocations: 35.69 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.151e-05/0.4818, allocations: 33.7 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.4819, allocations: 330.8 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.08e-05/0.4819, allocations: 59.97 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.114e-05/0.482, allocations: 73.69 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.4822, allocations: 193 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4822, allocations: 4 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002929/0.4825, allocations: 271 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.921e-05/0.4826, allocations: 41.69 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.4826, allocations: 0.5469 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.4826, allocations: 0 / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.969e-05/0.4827, allocations: 12 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.4827, allocations: 7.984 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.772e-05/0.4828, allocations: 15.92 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.4828, allocations: 8 kB / 1.024 GB, free: 11.36 MB / 0.7794 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.0001276/0.483, allocations: 184.9 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.483, allocations: 15.81 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/0.4832, allocations: 99.16 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.4832, allocations: 7.922 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4832, allocations: 96 / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4832, allocations: 3.938 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.4834, allocations: 237.4 kB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.4834, allocations: 3.984 kB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.164e-05/0.4835, allocations: 12 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.4835, allocations: 3.938 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.4835, allocations: 4 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.4835, allocations: 0 / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4835, allocations: 4 kB / 1.025 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003529/0.4839, allocations: 327.4 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.63e-05/0.4839, allocations: 112.8 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.484, allocations: 8 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.904e-05/0.4841, allocations: 8 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.4841, allocations: 7.984 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.4842, allocations: 15.92 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001072/0.4843, allocations: 156.2 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.4843, allocations: 0 / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002459/0.4845, allocations: 55.92 kB / 1.025 GB, free: 10 MB / 0.7794 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.0006211/0.4851, allocations: 0.8842 MB / 1.026 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000285/0.4854, allocations: 243.3 kB / 1.026 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.4855, allocations: 0 / 1.026 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.4856, allocations: 167.4 kB / 1.026 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.4858, allocations: 15.86 kB / 1.026 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.4878, allocations: 2.24 MB / 1.029 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.488, allocations: 0.7247 MB / 1.029 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.934e-05/0.4881, allocations: 11.98 kB / 1.029 GB, free: 5.535 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.413e-05/0.4881, allocations: 39.42 kB / 1.029 GB, free: 5.496 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.4881, allocations: 0 / 1.029 GB, free: 5.496 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2566/0.7447, allocations: 3.468 MB / 1.033 GB, free: 2.16 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.199/8.944, allocations: 3.953 kB / 1.033 GB, free: 2.156 MB / 0.7794 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)