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.001004/0.001004, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009657/0.0009656, allocations: 177.3 kB / 15.94 MB, free: 228 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.393/1.393, allocations: 223.2 MB / 239.9 MB, free: 5.473 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.427/2.427, allocations: 390.3 MB / 0.6653 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004123/0.0004125, allocations: 8 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7471/0.7475, allocations: 142.3 MB / 0.9536 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001432/0.749, allocations: 1.286 MB / 0.9548 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007961/0.7498, allocations: 0.5931 MB / 0.9554 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.509e-05/0.7499, allocations: 4 kB / 0.9554 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001684/0.7501, allocations: 72.78 kB / 0.9555 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002602/0.7503, allocations: 96.48 kB / 0.9556 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.7506, allocations: 68.48 kB / 0.9557 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.7507, allocations: 81.38 kB / 0.9557 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.093e-05/0.7508, allocations: 8.156 kB / 0.9557 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/0.751, allocations: 66.73 kB / 0.9558 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.7512, allocations: 83.28 kB / 0.9559 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.7512, allocations: 3.531 kB / 0.9559 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.7513, allocations: 64.33 kB / 0.956 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.996e-05/0.7514, allocations: 33.75 kB / 0.956 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.733e-05/0.7514, allocations: 54.44 kB / 0.956 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.7516, allocations: 111.8 kB / 0.9561 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.7516, allocations: 1.062 kB / 0.9561 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7516, allocations: 3.938 kB / 0.9561 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.7516, allocations: 0 / 0.9561 GB, free: 6.25 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.0005438/0.7521, allocations: 458 kB / 0.9566 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.7522, allocations: 13.72 kB / 0.9566 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.041e-05/0.7522, allocations: 37.38 kB / 0.9566 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.7523, allocations: 19.48 kB / 0.9566 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.7524, allocations: 202.3 kB / 0.9568 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.7525, allocations: 2.719 kB / 0.9568 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.7525, allocations: 8.562 kB / 0.9569 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.7527, allocations: 121.5 kB / 0.957 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.7527, allocations: 0 / 0.957 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.7527, allocations: 5.406 kB / 0.957 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.7527, allocations: 5.406 kB / 0.957 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.7529, allocations: 72.83 kB / 0.957 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003679/0.7532, allocations: 406.9 kB / 0.9574 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.7534, allocations: 115.8 kB / 0.9575 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.7534, allocations: 4 kB / 0.9576 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002675/0.7537, allocations: 179.3 kB / 0.9577 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.7537, allocations: 0 / 0.9577 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0004694/0.7542, allocations: 413 kB / 0.9581 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.7543, allocations: 107.2 kB / 0.9582 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.7544, allocations: 219.4 kB / 0.9584 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.7544, allocations: 27.08 kB / 0.9585 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.684e-05/0.7545, allocations: 114.9 kB / 0.9586 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.7545, allocations: 45.12 kB / 0.9586 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-06/0.7545, allocations: 1.375 kB / 0.9586 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.837e-05/0.7546, allocations: 328.3 kB / 0.9589 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.046e-05/0.7547, allocations: 62.41 kB / 0.959 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.859e-05/0.7548, allocations: 74.94 kB / 0.9591 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.621e-05/0.7549, allocations: 93.56 kB / 0.9591 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.7549, allocations: 0 / 0.9591 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00032/0.7552, allocations: 266.1 kB / 0.9594 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.929e-05/0.7552, allocations: 34.08 kB / 0.9594 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.7552, allocations: 1.625 kB / 0.9594 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.7553, allocations: 5.266 kB / 0.9594 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.7554, allocations: 17.77 kB / 0.9595 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.7554, allocations: 0.875 kB / 0.9595 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.7555, allocations: 19.47 kB / 0.9595 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.7555, allocations: 11.8 kB / 0.9595 GB, free: 3.371 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.0001157/0.7557, allocations: 173.3 kB / 0.9596 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.7557, allocations: 20.83 kB / 0.9597 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/0.7559, allocations: 91.89 kB / 0.9598 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.7559, allocations: 9.344 kB / 0.9598 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.7559, allocations: 1.156 kB / 0.9598 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.7559, allocations: 4 kB / 0.9598 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.7561, allocations: 231.9 kB / 0.96 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.7561, allocations: 3.938 kB / 0.96 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.529e-05/0.7561, allocations: 12.78 kB / 0.96 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.7561, allocations: 1.094 kB / 0.96 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.7561, allocations: 11.36 kB / 0.96 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.7562, allocations: 1.188 kB / 0.96 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.7562, allocations: 3.953 kB / 0.96 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000368/0.7565, allocations: 347.2 kB / 0.9604 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.66e-05/0.7566, allocations: 106.5 kB / 0.9605 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.442e-05/0.7567, allocations: 12.05 kB / 0.9605 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.623e-05/0.7568, allocations: 9.453 kB / 0.9605 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/0.7568, allocations: 16.05 kB / 0.9605 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.7568, allocations: 5.5 kB / 0.9605 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001083/0.7569, allocations: 167.9 kB / 0.9607 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.757, allocations: 4 kB / 0.9607 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002705/0.7572, allocations: 45.55 kB / 0.9607 GB, free: 2.383 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.0006499/0.7579, allocations: 0.969 MB / 0.9616 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003261/0.7582, allocations: 242.6 kB / 0.9619 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.7582, allocations: 0 / 0.9619 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.7584, allocations: 162.2 kB / 0.962 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001746/0.7586, allocations: 16.92 kB / 0.9621 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.7602, allocations: 1.323 MB / 0.9633 GB, free: 404 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.7605, allocations: 0.7306 MB / 0.9641 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.394e-05/0.7605, allocations: 4.156 kB / 0.9641 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.022e-05/0.7606, allocations: 43.14 kB / 0.9641 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of SimCode: time 4.01e-07/0.7606, allocations: 4 kB / 0.9641 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01402/0.7746, allocations: 3.198 MB / 0.9672 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/0.7748, allocations: 207.8 kB / 0.9674 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.627/2.401, allocations: 4 kB / 0.9674 GB, free: 13.93 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)