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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.004763/0.004763, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001449/0.001449, allocations: 192.6 kB / 16.67 MB, free: 5.969 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.259/1.259, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.371/2.371, allocations: 437.1 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 67.89 kB / 1.018 GB, free: 9.891 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6224/0.6242, allocations: 151.6 MB / 1.166 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002521/0.6268, allocations: 1.608 MB / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000989/0.6278, allocations: 0.6426 MB / 1.168 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.773e-05/0.6278, allocations: 0 / 1.168 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.628, allocations: 83.81 kB / 1.168 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.6282, allocations: 95.69 kB / 1.169 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.6285, allocations: 103.8 kB / 1.169 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.6287, allocations: 135.6 kB / 1.169 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.3e-05/0.6288, allocations: 4 kB / 1.169 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.6289, allocations: 71.8 kB / 1.169 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.6291, allocations: 107.8 kB / 1.169 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.6291, allocations: 8 kB / 1.169 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.6293, allocations: 79.92 kB / 1.169 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.887e-05/0.6293, allocations: 35.86 kB / 1.169 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.674e-05/0.6294, allocations: 55.59 kB / 1.169 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.6296, allocations: 167.1 kB / 1.169 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.6296, allocations: 0 / 1.169 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.062e-06/0.6296, allocations: 0 / 1.169 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.6297, allocations: 0 / 1.169 GB, free: 0.5664 MB / 0.8887 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.0006375/0.6303, allocations: 488.2 kB / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.6303, allocations: 8.922 kB / 1.17 GB, free: 28 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.908e-05/0.6304, allocations: 46.67 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.095e-05/0.6304, allocations: 24.83 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.6307, allocations: 209.7 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.6307, allocations: 384 / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.6307, allocations: 4.375 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.6309, allocations: 132.5 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.6309, allocations: 3.938 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.6309, allocations: 4 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.631, allocations: 0 / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.6311, allocations: 75.95 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/0.6315, allocations: 408.9 kB / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.6317, allocations: 117.2 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.6318, allocations: 77.8 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.6318, allocations: 0 / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002362/0.6321, allocations: 178.7 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.6321, allocations: 0 / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.0004978/0.6326, allocations: 331.1 kB / 1.171 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.608e-05/0.6327, allocations: 110.8 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.6329, allocations: 222.5 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.6329, allocations: 33.69 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.067e-05/0.633, allocations: 112.3 kB / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/0.633, allocations: 35.73 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.232e-05/0.6331, allocations: 29.7 kB / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.6332, allocations: 330.8 kB / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.197e-05/0.6333, allocations: 59.97 kB / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.6334, allocations: 81.69 kB / 1.172 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.6336, allocations: 193 kB / 1.172 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.6336, allocations: 0 / 1.172 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003285/0.634, allocations: 271.3 kB / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.476e-05/0.634, allocations: 37.69 kB / 1.173 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.634, allocations: 4.062 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.634, allocations: 4 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.825e-05/0.6341, allocations: 15.98 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.6341, allocations: 4 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.174e-05/0.6342, allocations: 11.94 kB / 1.173 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.6343, allocations: 11.88 kB / 1.173 GB, free: 12.64 MB / 0.9044 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.0001495/0.6344, allocations: 183.5 kB / 1.173 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/0.6344, allocations: 15.91 kB / 1.173 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001942/0.6346, allocations: 99.11 kB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.6347, allocations: 3.984 kB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.6347, allocations: 8 kB / 1.173 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.6347, allocations: 0 / 1.173 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.6349, allocations: 229.6 kB / 1.173 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.6349, allocations: 3.938 kB / 1.173 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.216e-05/0.635, allocations: 15.94 kB / 1.173 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.635, allocations: 0 / 1.173 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.635, allocations: 11.98 kB / 1.173 GB, free: 12 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.635, allocations: 0 / 1.173 GB, free: 12 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.635, allocations: 0 / 1.173 GB, free: 12 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004189/0.6354, allocations: 340.7 kB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.533e-05/0.6355, allocations: 112.8 kB / 1.174 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.6356, allocations: 4 kB / 1.174 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.034e-05/0.6356, allocations: 7.984 kB / 1.174 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.6357, allocations: 11.98 kB / 1.174 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.6357, allocations: 8 kB / 1.174 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001355/0.6359, allocations: 160.5 kB / 1.174 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6359, allocations: 0 / 1.174 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002268/0.6361, allocations: 47.94 kB / 1.174 GB, free: 11.28 MB / 0.9044 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.0007449/0.6369, allocations: 0.8845 MB / 1.175 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003209/0.6372, allocations: 243.3 kB / 1.175 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.6372, allocations: 4 kB / 1.175 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001746/0.6374, allocations: 167.3 kB / 1.175 GB, free: 9.93 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.6376, allocations: 12.16 kB / 1.175 GB, free: 9.922 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/0.6399, allocations: 2.26 MB / 1.177 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.6403, allocations: 0.7313 MB / 1.178 GB, free: 6.801 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.819e-05/0.6403, allocations: 7.984 kB / 1.178 GB, free: 6.793 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.983e-05/0.6404, allocations: 40.8 kB / 1.178 GB, free: 6.754 MB / 0.9044 GB Notification: Performance of SimCode: time 3.01e-07/0.6404, allocations: 0 / 1.178 GB, free: 6.754 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3875/1.028, allocations: 3.532 MB / 1.182 GB, free: 3.371 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.359/9.387, allocations: 7.953 kB / 1.182 GB, free: 3.363 MB / 0.9044 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=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)