Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_10_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.0008554/0.0008554, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005127/0.005127, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.183/1.183, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.28/2.28, allocations: 437.8 MB / 0.7121 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002799/0.0002799, allocations: 12 kB / 0.8729 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5166/0.5169, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001457/0.5184, allocations: 1.324 MB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009262/0.5194, allocations: 0.6467 MB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.007e-05/0.5194, allocations: 4 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.5195, allocations: 71.81 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002194/0.5198, allocations: 107.7 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.52, allocations: 67.86 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.5202, allocations: 119.7 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.902e-05/0.5202, allocations: 11.98 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.5204, allocations: 67.81 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.5205, allocations: 99.75 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.5205, allocations: 4 kB / 1.026 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.5206, allocations: 75.88 kB / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.134e-05/0.5207, allocations: 39.84 kB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.37e-05/0.5208, allocations: 77.31 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.5209, allocations: 157.8 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.521, allocations: 0 / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.173e-06/0.521, allocations: 4 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.521, allocations: 0 / 1.026 GB, free: 12.98 MB / 0.7794 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.0005391/0.5215, allocations: 456.5 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.5216, allocations: 12.03 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.272e-05/0.5216, allocations: 30.75 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.5216, allocations: 16.75 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.5218, allocations: 215.9 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.5218, allocations: 8.375 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.5219, allocations: 8.375 kB / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.522, allocations: 123.5 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.522, allocations: 3.984 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.5221, allocations: 0 / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.5221, allocations: 3.984 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.5222, allocations: 71.91 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003467/0.5225, allocations: 416.8 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.5227, allocations: 117.1 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.901e-05/0.5228, allocations: 81.78 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.5228, allocations: 0 / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002199/0.523, allocations: 182.7 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.002e-06/0.523, allocations: 0 / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0004275/0.5235, allocations: 331.1 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.5235, allocations: 118.7 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.5237, allocations: 210.6 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.5237, allocations: 29.7 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.581e-05/0.5238, allocations: 120.1 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.5238, allocations: 35.69 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-05/0.5238, allocations: 17.72 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.563e-05/0.5239, allocations: 326.8 kB / 1.029 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.035e-05/0.524, allocations: 63.97 kB / 1.029 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.903e-05/0.5241, allocations: 77.69 kB / 1.029 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.5243, allocations: 196.9 kB / 1.029 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.5243, allocations: 4 kB / 1.029 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002728/0.5246, allocations: 263.1 kB / 1.029 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.5246, allocations: 37.69 kB / 1.029 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.5246, allocations: 0 / 1.029 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.717e-06/0.5246, allocations: 4 kB / 1.029 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.036e-05/0.5247, allocations: 15.98 kB / 1.029 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.5247, allocations: 0 / 1.029 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.19e-05/0.5248, allocations: 15.84 kB / 1.029 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.5248, allocations: 4 kB / 1.029 GB, free: 9.105 MB / 0.7794 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.00012/0.525, allocations: 187.5 kB / 1.03 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.525, allocations: 15.81 kB / 1.03 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000187/0.5252, allocations: 99 kB / 1.03 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.5252, allocations: 4 kB / 1.03 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.5252, allocations: 0 / 1.03 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.5252, allocations: 3.938 kB / 1.03 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.5254, allocations: 225.6 kB / 1.03 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.5254, allocations: 11.94 kB / 1.03 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.694e-05/0.5255, allocations: 8 kB / 1.03 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.5255, allocations: 384 / 1.03 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.5255, allocations: 11.98 kB / 1.03 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.5255, allocations: 4 kB / 1.03 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5255, allocations: 0 / 1.03 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003417/0.5258, allocations: 346.8 kB / 1.03 GB, free: 8.113 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-05/0.5259, allocations: 112.8 kB / 1.03 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.5259, allocations: 4 kB / 1.03 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.094e-05/0.526, allocations: 11.98 kB / 1.03 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.5261, allocations: 11.98 kB / 1.03 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.5261, allocations: 4 kB / 1.03 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000107/0.5262, allocations: 164.2 kB / 1.031 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5262, allocations: 0 / 1.031 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002175/0.5265, allocations: 47.94 kB / 1.031 GB, free: 7.746 MB / 0.7794 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.0005977/0.5271, allocations: 0.8942 MB / 1.031 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002596/0.5273, allocations: 247.3 kB / 1.032 GB, free: 6.559 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5273, allocations: 0 / 1.032 GB, free: 6.559 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.5275, allocations: 163.3 kB / 1.032 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000187/0.5277, allocations: 23.8 kB / 1.032 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.5296, allocations: 2.256 MB / 1.034 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.5298, allocations: 0.7212 MB / 1.035 GB, free: 3.258 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.761e-05/0.5298, allocations: 11.98 kB / 1.035 GB, free: 3.246 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.142e-05/0.5299, allocations: 39.42 kB / 1.035 GB, free: 3.207 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.5299, allocations: 0 / 1.035 GB, free: 3.207 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.541/2.071, allocations: 3.184 MB / 1.038 GB, free: 216 kB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002652/2.071, allocations: 232.3 kB / 1.038 GB, free: 15.96 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/3.685, allocations: 5.812 kB / 1.038 GB, free: 15.95 MB / 0.795 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)