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.002029/0.002029, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002324/0.002324, allocations: 190.9 kB / 16.25 MB, free: 6.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.102/2.102, allocations: 222.9 MB / 239.9 MB, free: 4.445 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 3.811/3.811, allocations: 390.2 MB / 0.6644 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002485/0.002485, allocations: 63.91 kB / 0.8122 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.395/1.398, allocations: 140.4 MB / 0.9492 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.005438/1.403, allocations: 1.66 MB / 0.9509 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002309/1.406, allocations: 0.6392 MB / 0.9515 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/1.406, allocations: 0 / 0.9515 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003439/1.406, allocations: 70.33 kB / 0.9515 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006116/1.407, allocations: 106.7 kB / 0.9516 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006482/1.408, allocations: 83.77 kB / 0.9517 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003369/1.408, allocations: 135.4 kB / 0.9519 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/1.408, allocations: 14.22 kB / 0.9519 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000243/1.408, allocations: 66.94 kB / 0.9519 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003006/1.409, allocations: 108.1 kB / 0.952 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.891e-05/1.409, allocations: 6.375 kB / 0.952 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002457/1.409, allocations: 78.98 kB / 0.9521 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001197/1.409, allocations: 30.17 kB / 0.9521 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001287/1.409, allocations: 62.08 kB / 0.9522 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003948/1.41, allocations: 164.9 kB / 0.9524 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/1.41, allocations: 1.125 kB / 0.9524 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.597e-06/1.41, allocations: 0 / 0.9524 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.127e-06/1.41, allocations: 4 kB / 0.9524 GB, free: 6.844 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.001257/1.411, allocations: 481.1 kB / 0.9528 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001064/1.411, allocations: 8.594 kB / 0.9528 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.724e-05/1.411, allocations: 41.52 kB / 0.9529 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/1.411, allocations: 16.53 kB / 0.9529 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004248/1.412, allocations: 216.3 kB / 0.9531 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.623e-05/1.412, allocations: 6.438 kB / 0.9531 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.374e-05/1.412, allocations: 4.406 kB / 0.9531 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004878/1.412, allocations: 127.1 kB / 0.9532 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/1.412, allocations: 0 / 0.9532 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/1.413, allocations: 1.031 kB / 0.9532 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/1.413, allocations: 1.188 kB / 0.9532 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003031/1.413, allocations: 76.52 kB / 0.9533 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007305/1.414, allocations: 401.8 kB / 0.9537 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003618/1.414, allocations: 120.7 kB / 0.9538 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002555/1.414, allocations: 82.78 kB / 0.9539 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.025e-05/1.414, allocations: 3.938 kB / 0.9539 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005633/1.415, allocations: 180.9 kB / 0.9541 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 2.435e-06/1.415, allocations: 0 / 0.9541 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.001072/1.416, allocations: 340.9 kB / 0.9544 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.767e-05/1.416, allocations: 106.6 kB / 0.9545 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003543/1.416, allocations: 220.5 kB / 0.9547 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/1.417, allocations: 28.17 kB / 0.9547 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/1.417, allocations: 111.9 kB / 0.9548 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.302e-05/1.417, allocations: 36.34 kB / 0.9549 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/1.417, allocations: 27.92 kB / 0.9549 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001813/1.417, allocations: 333.1 kB / 0.9552 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004086/1.417, allocations: 59.19 kB / 0.9553 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/1.418, allocations: 81.17 kB / 0.9553 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004071/1.418, allocations: 195.6 kB / 0.9555 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/1.418, allocations: 256 / 0.9555 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005848/1.419, allocations: 279.6 kB / 0.9558 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.331e-05/1.419, allocations: 32.92 kB / 0.9558 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/1.419, allocations: 0 / 0.9558 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.738e-05/1.419, allocations: 1.75 kB / 0.9558 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/1.419, allocations: 14.73 kB / 0.9558 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/1.419, allocations: 1.812 kB / 0.9558 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/1.419, allocations: 14.16 kB / 0.9559 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/1.419, allocations: 6.078 kB / 0.9559 GB, free: 3.902 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 0.000238/1.42, allocations: 177.3 kB / 0.956 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.315e-05/1.42, allocations: 25.92 kB / 0.9561 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003565/1.42, allocations: 99.16 kB / 0.9561 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/1.42, allocations: 2.625 kB / 0.9562 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/1.42, allocations: 0 / 0.9562 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.437e-06/1.42, allocations: 1.094 kB / 0.9562 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004631/1.421, allocations: 238.2 kB / 0.9564 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/1.421, allocations: 1.688 kB / 0.9564 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/1.421, allocations: 7.312 kB / 0.9564 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/1.421, allocations: 9.188 kB / 0.9564 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.819e-05/1.421, allocations: 7.797 kB / 0.9564 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/1.421, allocations: 5.25 kB / 0.9564 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.421, allocations: 0 / 0.9564 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008245/1.422, allocations: 333.1 kB / 0.9567 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/1.422, allocations: 107.7 kB / 0.9568 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.271e-05/1.422, allocations: 10.02 kB / 0.9568 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/1.422, allocations: 9.562 kB / 0.9568 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/1.422, allocations: 11.73 kB / 0.9569 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.325e-05/1.422, allocations: 9.781 kB / 0.9569 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002576/1.423, allocations: 168.2 kB / 0.957 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.71e-07/1.423, allocations: 0 / 0.957 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005449/1.423, allocations: 47.22 kB / 0.9571 GB, free: 2.938 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.001331/1.425, allocations: 0.8959 MB / 0.958 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006588/1.425, allocations: 251.3 kB / 0.9582 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.425, allocations: 0 / 0.9582 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003296/1.426, allocations: 159.1 kB / 0.9583 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/1.426, allocations: 14.34 kB / 0.9584 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004658/1.431, allocations: 2.266 MB / 0.9606 GB, free: 240 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006623/1.431, allocations: 0.7302 MB / 0.9613 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001024/1.432, allocations: 11.95 kB / 0.9613 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/1.432, allocations: 43.95 kB / 0.9613 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of SimCode: time 1.593e-06/1.432, allocations: 3.938 kB / 0.9613 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03054/1.462, allocations: 3.354 MB / 0.9646 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004061/1.463, allocations: 237.8 kB / 0.9648 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.324/4.787, allocations: 0 / 0.9648 GB, free: 13.61 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)