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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001523/0.001523, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001743/0.001743, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.184/1.184, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.067/2.067, allocations: 390.2 MB / 0.6643 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 63.89 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4919/0.493, allocations: 140.4 MB / 0.949 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002021/0.4951, allocations: 1.66 MB / 0.9507 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000758/0.4958, allocations: 0.656 MB / 0.9513 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.558e-05/0.4959, allocations: 0 / 0.9513 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.496, allocations: 78.44 kB / 0.9514 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001838/0.4962, allocations: 101.7 kB / 0.9515 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.4964, allocations: 75.23 kB / 0.9515 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.4965, allocations: 118.8 kB / 0.9517 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.733e-05/0.4966, allocations: 17.91 kB / 0.9517 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.4967, allocations: 64.88 kB / 0.9517 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.4969, allocations: 98.3 kB / 0.9518 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.4969, allocations: 3.531 kB / 0.9518 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.497, allocations: 75.66 kB / 0.9519 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.736e-05/0.497, allocations: 38.3 kB / 0.9519 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.452e-05/0.4971, allocations: 54.39 kB / 0.952 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.4972, allocations: 155.3 kB / 0.9521 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.4973, allocations: 0 / 0.9521 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4973, allocations: 1.469 kB / 0.9521 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.4973, allocations: 4 kB / 0.9522 GB, free: 6.875 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.0004976/0.4978, allocations: 483.8 kB / 0.9526 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.4978, allocations: 9.594 kB / 0.9526 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.395e-05/0.4978, allocations: 36.47 kB / 0.9527 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.672e-05/0.4979, allocations: 21.55 kB / 0.9527 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.498, allocations: 211 kB / 0.9529 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.498, allocations: 6.656 kB / 0.9529 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.498, allocations: 8.453 kB / 0.9529 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.4982, allocations: 126.8 kB / 0.953 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.4982, allocations: 1.281 kB / 0.953 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.4982, allocations: 0 / 0.953 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.4983, allocations: 2.469 kB / 0.953 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.4984, allocations: 72.38 kB / 0.9531 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002804/0.4987, allocations: 405.8 kB / 0.9535 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.4988, allocations: 124.6 kB / 0.9536 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.65e-05/0.4989, allocations: 82.06 kB / 0.9537 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.4989, allocations: 0 / 0.9537 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001913/0.4991, allocations: 180.1 kB / 0.9538 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 9.92e-07/0.4991, allocations: 1.281 kB / 0.9538 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0004126/0.4995, allocations: 340.2 kB / 0.9542 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.4996, allocations: 106.5 kB / 0.9543 GB, free: 5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.4997, allocations: 216.9 kB / 0.9545 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.4997, allocations: 27.89 kB / 0.9545 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.71e-05/0.4998, allocations: 111 kB / 0.9546 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.4998, allocations: 33.14 kB / 0.9546 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/0.4999, allocations: 36.11 kB / 0.9547 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.948e-05/0.4999, allocations: 332.9 kB / 0.955 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.651e-05/0.5, allocations: 58.44 kB / 0.955 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.603e-05/0.5001, allocations: 76.16 kB / 0.9551 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.5002, allocations: 190.8 kB / 0.9553 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5002, allocations: 3.984 kB / 0.9553 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002481/0.5005, allocations: 271.4 kB / 0.9556 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.5005, allocations: 46.12 kB / 0.9556 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.5005, allocations: 0 / 0.9556 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.5006, allocations: 1.469 kB / 0.9556 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.361e-05/0.5006, allocations: 15.05 kB / 0.9556 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.5007, allocations: 240 / 0.9556 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.262e-05/0.5007, allocations: 14.77 kB / 0.9556 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.5008, allocations: 7.781 kB / 0.9556 GB, free: 3.93 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.332e-05/0.5009, allocations: 180.7 kB / 0.9558 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/0.5009, allocations: 21.38 kB / 0.9558 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001647/0.5011, allocations: 95.62 kB / 0.9559 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.5011, allocations: 1.094 kB / 0.9559 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.5011, allocations: 1.156 kB / 0.9559 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.5011, allocations: 5.5 kB / 0.9559 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.5012, allocations: 241.9 kB / 0.9562 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5012, allocations: 1.594 kB / 0.9562 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.028e-05/0.5013, allocations: 7.781 kB / 0.9562 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.5013, allocations: 5.656 kB / 0.9562 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.5013, allocations: 3.156 kB / 0.9562 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.5013, allocations: 9.344 kB / 0.9562 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5013, allocations: 3.938 kB / 0.9562 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/0.5016, allocations: 329.8 kB / 0.9565 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-05/0.5017, allocations: 106.5 kB / 0.9566 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/0.5017, allocations: 8.125 kB / 0.9566 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.189e-05/0.5018, allocations: 12.11 kB / 0.9566 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.5019, allocations: 8.109 kB / 0.9566 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.5019, allocations: 9.5 kB / 0.9567 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.564e-05/0.502, allocations: 168.1 kB / 0.9568 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.502, allocations: 1.375 kB / 0.9568 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002238/0.5022, allocations: 45.06 kB / 0.9569 GB, free: 2.965 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.0005118/0.5028, allocations: 0.8979 MB / 0.9577 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002524/0.503, allocations: 237.8 kB / 0.958 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.503, allocations: 1.062 kB / 0.958 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.5032, allocations: 170.4 kB / 0.9581 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001835/0.5034, allocations: 15.92 kB / 0.9581 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.5051, allocations: 2.258 MB / 0.9603 GB, free: 280 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.5053, allocations: 0.7262 MB / 0.9611 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.933e-05/0.5054, allocations: 4.875 kB / 0.9611 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.68e-05/0.5054, allocations: 46.83 kB / 0.9611 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.5054, allocations: 1.156 kB / 0.9611 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.347/0.8525, allocations: 3.269 MB / 0.9643 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/0.8527, allocations: 232.6 kB / 0.9645 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.58/2.433, allocations: 0 / 0.9645 GB, free: 13.7 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)