Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_latest_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.001389/0.001389, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001501/0.001501, allocations: 193 kB / 16.13 MB, free: 6.648 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.164/1.164, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.317/2.317, allocations: 461.8 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 66.16 kB / 0.8985 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2136, allocations: 157.4 MB / 1.052 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.00237/0.216, allocations: 1.663 MB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009374/0.2169, allocations: 0.6661 MB / 1.054 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.239e-05/0.217, allocations: 0 / 1.054 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.2172, allocations: 83.81 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002998/0.2175, allocations: 91.73 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.2178, allocations: 75.86 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.00019/0.218, allocations: 119.7 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.942e-05/0.2181, allocations: 12 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001781/0.2183, allocations: 67.8 kB / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.2185, allocations: 99.77 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.055e-05/0.2186, allocations: 7.938 kB / 1.055 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/0.2187, allocations: 75.86 kB / 1.055 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.074e-05/0.2188, allocations: 35.91 kB / 1.055 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.445e-05/0.2189, allocations: 47.61 kB / 1.055 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.2191, allocations: 163.8 kB / 1.055 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2191, allocations: 4 kB / 1.055 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.02e-07/0.2191, allocations: 0 / 1.055 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.247e-06/0.2191, allocations: 0 / 1.055 GB, free: 5.016 MB / 0.8106 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.0005819/0.2197, allocations: 472.4 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.2198, allocations: 11.97 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.3e-05/0.2198, allocations: 42.75 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/0.2199, allocations: 16.75 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.22, allocations: 215.9 kB / 1.056 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.22, allocations: 12.36 kB / 1.056 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.2201, allocations: 4.375 kB / 1.056 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.2203, allocations: 131.5 kB / 1.056 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.2203, allocations: 3.938 kB / 1.056 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.2203, allocations: 4 kB / 1.056 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.2203, allocations: 0 / 1.056 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.2204, allocations: 71.91 kB / 1.056 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003575/0.2208, allocations: 404.9 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.2209, allocations: 117.1 kB / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.6e-05/0.2211, allocations: 81.78 kB / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.2211, allocations: 4.156 kB / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002258/0.2213, allocations: 178.7 kB / 1.057 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 2.615e-06/0.2213, allocations: 0 / 1.057 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0004472/0.2218, allocations: 331 kB / 1.057 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.2218, allocations: 114.7 kB / 1.057 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.222, allocations: 213.3 kB / 1.058 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.222, allocations: 29.7 kB / 1.058 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.347e-05/0.2221, allocations: 116.1 kB / 1.058 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.2221, allocations: 39.55 kB / 1.058 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-05/0.2222, allocations: 21.72 kB / 1.058 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.295e-05/0.2223, allocations: 338.8 kB / 1.058 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.742e-05/0.2224, allocations: 51.98 kB / 1.058 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.574e-05/0.2225, allocations: 85.67 kB / 1.058 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.2226, allocations: 200.9 kB / 1.058 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2226, allocations: 0 / 1.058 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002868/0.2229, allocations: 267.1 kB / 1.059 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.223, allocations: 33.7 kB / 1.059 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.223, allocations: 7.984 kB / 1.059 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.148e-06/0.223, allocations: 0 / 1.059 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.008e-05/0.2231, allocations: 8 kB / 1.059 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.2231, allocations: 4 kB / 1.059 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.791e-05/0.2232, allocations: 12.3 kB / 1.059 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.2232, allocations: 7.938 kB / 1.059 GB, free: 1.109 MB / 0.8106 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.0001194/0.2234, allocations: 183.5 kB / 1.059 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.2234, allocations: 19.81 kB / 1.059 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001783/0.2236, allocations: 99 kB / 1.059 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.2236, allocations: 4.094 kB / 1.059 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.2236, allocations: 3.984 kB / 1.059 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2236, allocations: 0 / 1.059 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.2238, allocations: 237.4 kB / 1.059 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2238, allocations: 0 / 1.059 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.37e-05/0.2238, allocations: 15.98 kB / 1.059 GB, free: 500 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2238, allocations: 96 / 1.059 GB, free: 500 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.2239, allocations: 11.94 kB / 1.059 GB, free: 488 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.2239, allocations: 0 / 1.059 GB, free: 488 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2239, allocations: 240 / 1.059 GB, free: 488 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003469/0.2242, allocations: 331.3 kB / 1.06 GB, free: 128 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.802e-05/0.2243, allocations: 108.9 kB / 1.06 GB, free: 0 / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.369e-05/0.2244, allocations: 8.078 kB / 1.06 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.579e-05/0.2245, allocations: 4 kB / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.2245, allocations: 11.98 kB / 1.06 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.2245, allocations: 8 kB / 1.06 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001108/0.2246, allocations: 167 kB / 1.06 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2247, allocations: 0 / 1.06 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002309/0.2249, allocations: 47.92 kB / 1.06 GB, free: 15.75 MB / 0.8262 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.0006151/0.2255, allocations: 0.8983 MB / 1.061 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002754/0.2258, allocations: 243.3 kB / 1.061 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2258, allocations: 0 / 1.061 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.226, allocations: 167.3 kB / 1.061 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.2262, allocations: 18.89 kB / 1.061 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.2281, allocations: 2.244 MB / 1.063 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.2283, allocations: 0.72 MB / 1.064 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.05e-05/0.2284, allocations: 11.98 kB / 1.064 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.925e-05/0.2284, allocations: 43.42 kB / 1.064 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of SimCode: time 2.01e-07/0.2284, allocations: 0 / 1.064 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5369/0.7654, allocations: 3.266 MB / 1.067 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002053/0.7656, allocations: 236.5 kB / 1.068 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.497/2.263, allocations: 4 kB / 1.068 GB, free: 7.871 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)