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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.001132/0.001132, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.001653/0.001654, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.357/2.357, allocations: 390.4 MB / 0.6655 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003423/0.0003423, allocations: 11.98 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7124/0.7128, allocations: 142.3 MB / 0.9538 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001548/0.7144, allocations: 1.294 MB / 0.9551 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008817/0.7153, allocations: 0.5953 MB / 0.9557 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.909e-05/0.7153, allocations: 1.188 kB / 0.9557 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001475/0.7155, allocations: 68.23 kB / 0.9558 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002349/0.7157, allocations: 102.8 kB / 0.9559 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002817/0.716, allocations: 78.81 kB / 0.9559 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.7162, allocations: 105.3 kB / 0.956 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.732e-05/0.7162, allocations: 7.516 kB / 0.956 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.7164, allocations: 62.3 kB / 0.9561 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.7166, allocations: 89.62 kB / 0.9562 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.7166, allocations: 7.344 kB / 0.9562 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.7167, allocations: 71.12 kB / 0.9563 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.971e-05/0.7168, allocations: 29.91 kB / 0.9563 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.69e-05/0.7168, allocations: 46.08 kB / 0.9563 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.717, allocations: 112.5 kB / 0.9564 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.717, allocations: 0 / 0.9564 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.844e-06/0.717, allocations: 1 kB / 0.9564 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.717, allocations: 0 / 0.9564 GB, free: 6.168 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.0005524/0.7176, allocations: 466.7 kB / 0.9569 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.7176, allocations: 9.562 kB / 0.9569 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.518e-05/0.7176, allocations: 32.81 kB / 0.9569 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.326e-05/0.7177, allocations: 23.39 kB / 0.9569 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.7179, allocations: 210.5 kB / 0.9571 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.7179, allocations: 2.281 kB / 0.9571 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.7179, allocations: 4.781 kB / 0.9572 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.7181, allocations: 121.4 kB / 0.9573 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.7181, allocations: 5.125 kB / 0.9573 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.7182, allocations: 5.094 kB / 0.9573 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.7182, allocations: 1 kB / 0.9573 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.7183, allocations: 75.73 kB / 0.9574 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003286/0.7186, allocations: 404 kB / 0.9577 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.7188, allocations: 118.3 kB / 0.9579 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.7189, allocations: 81.66 kB / 0.9579 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.7189, allocations: 1.062 kB / 0.9579 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002558/0.7192, allocations: 187.5 kB / 0.9581 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.7192, allocations: 4 kB / 0.9581 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0004711/0.7197, allocations: 335.5 kB / 0.9584 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.7197, allocations: 106.4 kB / 0.9585 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.7199, allocations: 214.7 kB / 0.9587 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.7199, allocations: 33.69 kB / 0.9588 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.457e-05/0.72, allocations: 110.9 kB / 0.9589 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/0.72, allocations: 33.05 kB / 0.9589 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.547e-06/0.72, allocations: 1.375 kB / 0.9589 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.352e-05/0.7201, allocations: 332.3 kB / 0.9592 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.389e-05/0.7202, allocations: 58.47 kB / 0.9593 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.533e-05/0.7202, allocations: 74.94 kB / 0.9594 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.814e-05/0.7203, allocations: 89.56 kB / 0.9594 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.7203, allocations: 0 / 0.9594 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002766/0.7206, allocations: 270 kB / 0.9597 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/0.7207, allocations: 43.09 kB / 0.9597 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.7207, allocations: 3.953 kB / 0.9597 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.7207, allocations: 1.344 kB / 0.9597 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.393e-05/0.7208, allocations: 18.34 kB / 0.9598 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.7208, allocations: 5.297 kB / 0.9598 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.387e-05/0.7209, allocations: 15.12 kB / 0.9598 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.7209, allocations: 8.219 kB / 0.9598 GB, free: 3.328 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 ($whenCondition2,$PRE.decAng.tNext,decAng.tNext,$whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,$PRE.solDecNOAA.nextEvent,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000116/0.721, allocations: 177 kB / 0.96 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.7211, allocations: 16.97 kB / 0.96 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001849/0.7213, allocations: 107.7 kB / 0.9601 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.7213, allocations: 5.922 kB / 0.9601 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.7213, allocations: 0 / 0.9601 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.7213, allocations: 1.375 kB / 0.9601 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.7214, allocations: 226.9 kB / 0.9603 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.7214, allocations: 1.281 kB / 0.9603 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.097e-05/0.7215, allocations: 7.688 kB / 0.9603 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.7215, allocations: 0.875 kB / 0.9603 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.7215, allocations: 7.938 kB / 0.9603 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.7215, allocations: 1.656 kB / 0.9603 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.7215, allocations: 11.94 kB / 0.9603 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003804/0.7219, allocations: 336.9 kB / 0.9606 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-05/0.722, allocations: 110.4 kB / 0.9608 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.153e-05/0.722, allocations: 3.469 kB / 0.9608 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.16e-05/0.7221, allocations: 10.58 kB / 0.9608 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.7222, allocations: 20.03 kB / 0.9608 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.7222, allocations: 4.969 kB / 0.9608 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001125/0.7223, allocations: 167.8 kB / 0.961 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7223, allocations: 0 / 0.961 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002484/0.7226, allocations: 42.22 kB / 0.961 GB, free: 2.363 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000598/0.7232, allocations: 0.8908 MB / 0.9619 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002929/0.7235, allocations: 248.9 kB / 0.9621 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.7235, allocations: 0.9062 kB / 0.9621 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.7237, allocations: 162.3 kB / 0.9623 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.7239, allocations: 20.86 kB / 0.9623 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.7253, allocations: 1.207 MB / 0.9635 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.7255, allocations: 0.7207 MB / 0.9642 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.388e-05/0.7256, allocations: 8.984 kB / 0.9642 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.513e-05/0.7257, allocations: 46.27 kB / 0.9642 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/0.7257, allocations: 1.406 kB / 0.9642 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01394/0.7396, allocations: 3.203 MB / 0.9673 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002204/0.7399, allocations: 221.8 kB / 0.9676 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.855/2.595, allocations: 0 / 0.9676 GB, free: 14.12 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/linux/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)