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.001181/0.001181, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001146/0.001146, allocations: 190.2 kB / 16.25 MB, free: 6.621 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.161/1.161, 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 10.1.1-maint.10.0.x/package.mo): time 2.227/2.227, allocations: 437 MB / 0.7101 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 67.89 kB / 0.8689 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4675/0.4686, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002402/0.4711, allocations: 1.671 MB / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009078/0.472, allocations: 0.6427 MB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.264e-05/0.472, allocations: 0 / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.4722, allocations: 75.81 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002258/0.4724, allocations: 95.75 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002914/0.4727, allocations: 91.7 kB / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.4729, allocations: 131.7 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.479e-05/0.473, allocations: 12 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.4731, allocations: 71.8 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.4732, allocations: 103.8 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.4733, allocations: 4 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.4734, allocations: 79.92 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.15e-05/0.4734, allocations: 35.84 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.695e-05/0.4735, allocations: 67.53 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.4737, allocations: 161.8 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.4737, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.472e-06/0.4737, allocations: 4 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.4737, allocations: 0 / 1.02 GB, free: 15.46 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.0005747/0.4743, allocations: 476.4 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.4744, allocations: 12.03 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.463e-05/0.4744, allocations: 34.75 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.4744, allocations: 16.75 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.4746, allocations: 211.9 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.4746, allocations: 4.375 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.4747, allocations: 8.375 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.4748, allocations: 131.4 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.4749, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.4749, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.4749, allocations: 3.984 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.475, allocations: 75.91 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003615/0.4754, allocations: 412.9 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.4755, allocations: 121.1 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.117e-05/0.4756, allocations: 81.78 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.4757, allocations: 0 / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002301/0.4759, allocations: 170.8 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.4759, allocations: 0 / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0004454/0.4764, allocations: 339.1 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.4764, allocations: 114.8 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.4766, allocations: 206.6 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.4766, allocations: 33.7 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.535e-05/0.4767, allocations: 116.1 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.4767, allocations: 35.55 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.047e-05/0.4768, allocations: 29.72 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.328e-05/0.4769, allocations: 338.7 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.976e-05/0.4769, allocations: 55.98 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.898e-05/0.477, allocations: 73.69 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.4772, allocations: 193.1 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4772, allocations: 0 / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002989/0.4775, allocations: 283.3 kB / 1.023 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/0.4776, allocations: 37.7 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.4776, allocations: 0 / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.4776, allocations: 0 / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.186e-05/0.4777, allocations: 19.92 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.4777, allocations: 0 / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.4778, allocations: 15.92 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.4778, allocations: 4 kB / 1.024 GB, free: 11.55 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.0001225/0.4779, allocations: 185.5 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.886e-05/0.478, allocations: 15.81 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001819/0.4782, allocations: 103 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.4782, allocations: 0 / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4782, allocations: 3.984 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.4782, allocations: 0 / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.4784, allocations: 233.4 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4784, allocations: 0 / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.3e-05/0.4784, allocations: 19.98 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4784, allocations: 0 / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.4784, allocations: 4 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4785, allocations: 0 / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.4785, allocations: 0 / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003497/0.4788, allocations: 339.3 kB / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.897e-05/0.4789, allocations: 108.8 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.4789, allocations: 4 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.28e-05/0.479, allocations: 16 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.4791, allocations: 7.984 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.4791, allocations: 4.094 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001114/0.4792, allocations: 164.2 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4792, allocations: 0 / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002346/0.4795, allocations: 47.94 kB / 1.025 GB, free: 10.21 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.0006198/0.4801, allocations: 0.8939 MB / 1.026 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002777/0.4804, allocations: 247.4 kB / 1.026 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4804, allocations: 0 / 1.026 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.4805, allocations: 175.4 kB / 1.026 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001896/0.4807, allocations: 20.78 kB / 1.026 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.4827, allocations: 2.257 MB / 1.028 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.4829, allocations: 0.7197 MB / 1.029 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.168e-05/0.483, allocations: 11.98 kB / 1.029 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.095e-05/0.4831, allocations: 43.42 kB / 1.029 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.4831, allocations: 0 / 1.029 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4655/0.9486, allocations: 3.358 MB / 1.032 GB, free: 2.477 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/0.9488, allocations: 231 kB / 1.033 GB, free: 2.223 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/2.594, allocations: 0 / 1.033 GB, free: 2.223 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)