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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.004242/0.004242, allocations: 97.59 kB / 15.73 MB, free: 6.008 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.001196/0.001196, allocations: 196.6 kB / 16.67 MB, free: 5.926 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.265/1.265, 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 12.0.0-master/package.mo): time 2.453/2.453, allocations: 482.6 MB / 0.755 GB, free: 6.668 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 68.02 kB / 1.083 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2562, allocations: 162.3 MB / 1.242 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002568/0.2588, allocations: 1.602 MB / 1.243 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.2598, allocations: 0.648 MB / 1.244 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.849e-05/0.2599, allocations: 0 / 1.244 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001423/0.2601, allocations: 75.81 kB / 1.244 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002515/0.2603, allocations: 111.6 kB / 1.244 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.2607, allocations: 95.75 kB / 1.244 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.2608, allocations: 131.7 kB / 1.244 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.103e-05/0.2609, allocations: 11.97 kB / 1.244 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.2611, allocations: 75.75 kB / 1.245 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.2612, allocations: 107.8 kB / 1.245 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.2613, allocations: 8 kB / 1.245 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.2614, allocations: 79.92 kB / 1.245 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.344e-05/0.2615, allocations: 23.92 kB / 1.245 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.865e-05/0.2615, allocations: 63.55 kB / 1.245 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.2618, allocations: 171.6 kB / 1.245 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2618, allocations: 0 / 1.245 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2618, allocations: 0 / 1.245 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.2618, allocations: 0 / 1.245 GB, free: 5.758 MB / 0.9669 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.0006242/0.2624, allocations: 492.2 kB / 1.245 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.2625, allocations: 12.03 kB / 1.245 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.003e-05/0.2625, allocations: 38.73 kB / 1.245 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.2626, allocations: 16.84 kB / 1.245 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.2628, allocations: 209.3 kB / 1.246 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.2628, allocations: 12.31 kB / 1.246 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.2628, allocations: 8.375 kB / 1.246 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.263, allocations: 122.7 kB / 1.246 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.263, allocations: 4 kB / 1.246 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.2631, allocations: 4 kB / 1.246 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.2631, allocations: 4 kB / 1.246 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.2632, allocations: 71.89 kB / 1.246 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003972/0.2636, allocations: 404.9 kB / 1.246 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.2638, allocations: 125.1 kB / 1.246 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.2639, allocations: 81.78 kB / 1.246 GB, free: 4 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.2639, allocations: 3.984 kB / 1.246 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000223/0.2641, allocations: 162.8 kB / 1.247 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.2642, allocations: 0 / 1.247 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0004772/0.2646, allocations: 339.1 kB / 1.247 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.611e-05/0.2647, allocations: 110.8 kB / 1.247 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.2649, allocations: 227.7 kB / 1.247 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.2649, allocations: 25.7 kB / 1.247 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.964e-05/0.265, allocations: 116.1 kB / 1.247 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.2651, allocations: 31.89 kB / 1.247 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.416e-05/0.2651, allocations: 37.64 kB / 1.247 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.2653, allocations: 334.8 kB / 1.248 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.798e-05/0.2653, allocations: 59.97 kB / 1.248 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.12e-05/0.2654, allocations: 73.69 kB / 1.248 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.2657, allocations: 193.1 kB / 1.248 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.2657, allocations: 3.938 kB / 1.248 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003172/0.266, allocations: 271.1 kB / 1.248 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.4e-05/0.266, allocations: 37.7 kB / 1.248 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.266, allocations: 0 / 1.248 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.806e-06/0.266, allocations: 0 / 1.248 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.267e-05/0.2661, allocations: 19.98 kB / 1.248 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.2661, allocations: 0 / 1.248 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.832e-05/0.2662, allocations: 11.94 kB / 1.248 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.2663, allocations: 7.984 kB / 1.248 GB, free: 1.836 MB / 0.9669 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.0001443/0.2664, allocations: 178.4 kB / 1.249 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.378e-05/0.2665, allocations: 24.2 kB / 1.249 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001908/0.2666, allocations: 103 kB / 1.249 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2667, allocations: 0 / 1.249 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.2667, allocations: 0 / 1.249 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2667, allocations: 3.984 kB / 1.249 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.2669, allocations: 237.5 kB / 1.249 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2669, allocations: 0 / 1.249 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.833e-05/0.2669, allocations: 8 kB / 1.249 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.2669, allocations: 3.984 kB / 1.249 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.267, allocations: 4 kB / 1.249 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.267, allocations: 96 / 1.249 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.267, allocations: 7.938 kB / 1.249 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004001/0.2674, allocations: 343.2 kB / 1.249 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.191e-05/0.2675, allocations: 108.9 kB / 1.249 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.2675, allocations: 11.98 kB / 1.249 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.386e-05/0.2676, allocations: 4 kB / 1.249 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.2676, allocations: 7.984 kB / 1.249 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.2677, allocations: 8 kB / 1.249 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001288/0.2678, allocations: 160.5 kB / 1.25 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2678, allocations: 0 / 1.25 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002281/0.268, allocations: 55.83 kB / 1.25 GB, free: 488 kB / 0.9669 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.0007254/0.2688, allocations: 0.8922 MB / 1.251 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003138/0.2691, allocations: 243.3 kB / 1.251 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2691, allocations: 0 / 1.251 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.2693, allocations: 167.5 kB / 1.251 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.2695, allocations: 17.75 kB / 1.251 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/0.2717, allocations: 2.247 MB / 1.253 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.272, allocations: 0.7236 MB / 1.254 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.553e-05/0.272, allocations: 7.984 kB / 1.254 GB, free: 12 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.383e-05/0.2721, allocations: 43.42 kB / 1.254 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.2721, allocations: 0 / 1.254 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.383/1.655, allocations: 3.527 MB / 1.257 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.89/16.55, allocations: 6.312 kB / 1.257 GB, free: 8.574 MB / 0.9825 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=400 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)