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.007008/0.007008, allocations: 100.8 kB / 15.73 MB, free: 5.992 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.001655/0.001655, allocations: 196.3 kB / 16.67 MB, free: 5.93 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.284/1.284, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.31/2.31, allocations: 390.2 MB / 0.6648 GB, free: 248 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 66.23 kB / 0.9504 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2159, allocations: 140.4 MB / 1.087 GB, free: 2.07 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002311/0.2182, allocations: 1.591 MB / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009583/0.2192, allocations: 0.6479 MB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.066e-05/0.2193, allocations: 0 / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.2194, allocations: 79.83 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.2196, allocations: 107.7 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003134/0.22, allocations: 101.6 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001597/0.2201, allocations: 139.6 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.965e-05/0.2202, allocations: 11.98 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.2203, allocations: 75.73 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.2205, allocations: 99.78 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.2205, allocations: 4 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.2206, allocations: 79.92 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.535e-05/0.2207, allocations: 39.83 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.327e-05/0.2208, allocations: 55.61 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.221, allocations: 166.4 kB / 1.091 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.221, allocations: 0 / 1.091 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.32e-07/0.221, allocations: 0 / 1.091 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.221, allocations: 0 / 1.091 GB, free: 14.88 MB / 0.8575 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.000602/0.2216, allocations: 481.2 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.2217, allocations: 15.97 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.161e-05/0.2217, allocations: 30.75 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.341e-05/0.2217, allocations: 20.75 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.222, allocations: 223.6 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.222, allocations: 4.375 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.222, allocations: 4.375 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.2222, allocations: 131.4 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.2222, allocations: 0 / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.2222, allocations: 0 / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.2222, allocations: 4 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.2224, allocations: 67.97 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003784/0.2227, allocations: 416.8 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.2229, allocations: 117.2 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.514e-05/0.223, allocations: 77.78 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.2231, allocations: 4 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002098/0.2233, allocations: 178.8 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.2233, allocations: 0 / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0004541/0.2238, allocations: 331.3 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.2238, allocations: 110.8 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.224, allocations: 214.6 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.224, allocations: 33.7 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.215e-05/0.2241, allocations: 112.1 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.665e-05/0.2241, allocations: 31.55 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.072e-05/0.2242, allocations: 29.72 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.529e-05/0.2243, allocations: 330.8 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.872e-05/0.2244, allocations: 63.97 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.952e-05/0.2245, allocations: 81.62 kB / 1.094 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.2247, allocations: 201.3 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2247, allocations: 0 / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003043/0.225, allocations: 267.1 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.634e-05/0.225, allocations: 37.69 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.2251, allocations: 3.938 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.2251, allocations: 0 / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.443e-05/0.2252, allocations: 16 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.2252, allocations: 7.922 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.767e-05/0.2253, allocations: 11.98 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.2253, allocations: 4 kB / 1.094 GB, free: 10.96 MB / 0.8575 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.0001379/0.2255, allocations: 188.9 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.2255, allocations: 23.72 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001898/0.2257, allocations: 95.06 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2257, allocations: 0 / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.2257, allocations: 0 / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2257, allocations: 0 / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.2259, allocations: 229.5 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2259, allocations: 4 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.42e-05/0.226, allocations: 15.92 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.226, allocations: 0 / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.226, allocations: 8 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.226, allocations: 4 kB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.226, allocations: 0 / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003923/0.2264, allocations: 334.5 kB / 1.095 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.004e-05/0.2265, allocations: 112.9 kB / 1.095 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.221e-05/0.2265, allocations: 4.125 kB / 1.095 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.573e-05/0.2266, allocations: 8 kB / 1.095 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.2267, allocations: 11.98 kB / 1.095 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.2267, allocations: 7.984 kB / 1.095 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001289/0.2269, allocations: 160.3 kB / 1.095 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2269, allocations: 3.938 kB / 1.095 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002481/0.2271, allocations: 55.92 kB / 1.095 GB, free: 9.605 MB / 0.8575 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.0006596/0.2278, allocations: 0.9018 MB / 1.096 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002894/0.2281, allocations: 247.3 kB / 1.096 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2281, allocations: 0 / 1.096 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.2282, allocations: 163.4 kB / 1.097 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.2285, allocations: 16 kB / 1.097 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.2305, allocations: 2.232 MB / 1.099 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.2308, allocations: 0.7314 MB / 1.099 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.798e-05/0.2308, allocations: 4 kB / 1.099 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.61e-05/0.2309, allocations: 39.42 kB / 1.099 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.2309, allocations: 0 / 1.099 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.694/1.925, allocations: 3.526 MB / 1.103 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/12.93, allocations: 5.922 kB / 1.103 GB, free: 1.711 MB / 0.8575 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)