Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_9_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.001175/0.001175, allocations: 108 kB / 15.61 MB, free: 152 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.001189/0.001189, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.189/1.189, 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 9.1.3-maint.9.1.x/package.mo): time 2.061/2.061, allocations: 390.3 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 63.89 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4701/0.4712, allocations: 140.4 MB / 0.9497 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002113/0.4734, allocations: 1.585 MB / 0.9513 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007455/0.4741, allocations: 0.6462 MB / 0.9519 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.012e-05/0.4742, allocations: 5.688 kB / 0.9519 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.4743, allocations: 69.36 kB / 0.952 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002051/0.4745, allocations: 100.7 kB / 0.9521 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.4748, allocations: 111.7 kB / 0.9522 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.4749, allocations: 132.2 kB / 0.9523 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.007e-05/0.475, allocations: 9.266 kB / 0.9523 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.4751, allocations: 70.77 kB / 0.9524 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.4752, allocations: 102.8 kB / 0.9525 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.4753, allocations: 5.875 kB / 0.9525 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.4754, allocations: 83.22 kB / 0.9526 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.004e-05/0.4754, allocations: 40.45 kB / 0.9526 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.322e-05/0.4755, allocations: 53.92 kB / 0.9526 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.4757, allocations: 165.6 kB / 0.9528 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.4757, allocations: 0 / 0.9528 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.52e-07/0.4757, allocations: 1.375 kB / 0.9528 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.4757, allocations: 0 / 0.9528 GB, free: 6.793 MB / 0.7169 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.0004914/0.4762, allocations: 476.5 kB / 0.9533 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.835e-05/0.4762, allocations: 12.33 kB / 0.9533 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.525e-05/0.4762, allocations: 37.5 kB / 0.9533 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.4763, allocations: 20.98 kB / 0.9533 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.4764, allocations: 216.3 kB / 0.9535 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.747e-06/0.4764, allocations: 1.812 kB / 0.9535 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.4765, allocations: 4.438 kB / 0.9535 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.4766, allocations: 131.5 kB / 0.9537 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.4766, allocations: 0 / 0.9537 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.4767, allocations: 1.219 kB / 0.9537 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.4767, allocations: 5.188 kB / 0.9537 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.4768, allocations: 73.61 kB / 0.9537 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002818/0.4771, allocations: 404.3 kB / 0.9541 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.4772, allocations: 113.6 kB / 0.9542 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.239e-05/0.4773, allocations: 89.31 kB / 0.9543 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.4773, allocations: 1.625 kB / 0.9543 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001921/0.4775, allocations: 175.5 kB / 0.9545 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.4775, allocations: 0 / 0.9545 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0003935/0.4779, allocations: 337.8 kB / 0.9548 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.478, allocations: 109.7 kB / 0.9549 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.4781, allocations: 221.2 kB / 0.9551 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.4781, allocations: 28.3 kB / 0.9552 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.744e-05/0.4782, allocations: 114.8 kB / 0.9553 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.4782, allocations: 29.56 kB / 0.9553 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.405e-05/0.4782, allocations: 28.3 kB / 0.9553 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.104e-05/0.4783, allocations: 335.6 kB / 0.9556 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.713e-05/0.4784, allocations: 70.92 kB / 0.9557 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.5e-05/0.4784, allocations: 76.53 kB / 0.9558 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.4786, allocations: 191.7 kB / 0.956 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4786, allocations: 0 / 0.956 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000248/0.4789, allocations: 269.7 kB / 0.9562 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.4789, allocations: 33.73 kB / 0.9563 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.4789, allocations: 0 / 0.9563 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.4789, allocations: 1.094 kB / 0.9563 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.191e-05/0.479, allocations: 19.52 kB / 0.9563 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.479, allocations: 5.438 kB / 0.9563 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.933e-05/0.4791, allocations: 12.31 kB / 0.9563 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.4791, allocations: 8.484 kB / 0.9563 GB, free: 3.852 MB / 0.7169 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 9.485e-05/0.4792, allocations: 182 kB / 0.9565 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.4793, allocations: 21.5 kB / 0.9565 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001613/0.4794, allocations: 96.94 kB / 0.9566 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.4794, allocations: 5.781 kB / 0.9566 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.4794, allocations: 4 kB / 0.9566 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.4794, allocations: 5.172 kB / 0.9566 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.4796, allocations: 232 kB / 0.9568 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4796, allocations: 0 / 0.9568 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.937e-05/0.4796, allocations: 11.2 kB / 0.9568 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.4796, allocations: 1.781 kB / 0.9568 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.4797, allocations: 7.594 kB / 0.9568 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.4797, allocations: 5.719 kB / 0.9568 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4797, allocations: 240 / 0.9568 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.48, allocations: 345.1 kB / 0.9572 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.163e-05/0.48, allocations: 106.5 kB / 0.9573 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.4801, allocations: 8.109 kB / 0.9573 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.752e-05/0.4802, allocations: 4.125 kB / 0.9573 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.4802, allocations: 12.11 kB / 0.9573 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.4802, allocations: 5.5 kB / 0.9573 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.024e-05/0.4803, allocations: 173.5 kB / 0.9575 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.4803, allocations: 0 / 0.9575 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002222/0.4806, allocations: 45.72 kB / 0.9575 GB, free: 2.883 MB / 0.7169 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.0004944/0.4811, allocations: 0.8916 MB / 0.9584 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002615/0.4813, allocations: 255.4 kB / 0.9586 GB, free: 2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4813, allocations: 1.062 kB / 0.9586 GB, free: 2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.4815, allocations: 162.8 kB / 0.9588 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001822/0.4817, allocations: 21.61 kB / 0.9588 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.4833, allocations: 2.216 MB / 0.961 GB, free: 228 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.4835, allocations: 0.7286 MB / 0.9617 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.533e-05/0.4836, allocations: 11.36 kB / 0.9617 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.423e-05/0.4836, allocations: 43.67 kB / 0.9617 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.4836, allocations: 1.125 kB / 0.9617 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03331/0.5169, allocations: 3.471 MB / 0.9651 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.496/7.013, allocations: 7.109 kB / 0.9651 GB, free: 13.71 MB / 0.7325 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)