Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IBPSA_latest_IBPSA_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.001187/0.001187, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 204.3 kB / 16.79 MB, free: 6.84 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.186/1.186, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6137/0.6137, allocations: 115.3 MB / 406 MB, free: 2.777 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 64.47 kB / 493 MB, free: 6.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1121, allocations: 76.19 MB / 0.5558 GB, free: 10.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002523/0.1147, allocations: 1.652 MB / 0.5575 GB, free: 9.023 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009821/0.1157, allocations: 0.6507 MB / 0.5581 GB, free: 8.367 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.622e-05/0.1158, allocations: 11.88 kB / 0.5581 GB, free: 8.355 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.1159, allocations: 67.88 kB / 0.5582 GB, free: 8.289 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000225/0.1162, allocations: 95.75 kB / 0.5583 GB, free: 8.195 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000274/0.1164, allocations: 83.84 kB / 0.5583 GB, free: 8.113 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.1166, allocations: 119.7 kB / 0.5585 GB, free: 7.996 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.234e-05/0.1167, allocations: 8 kB / 0.5585 GB, free: 7.988 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.1168, allocations: 63.8 kB / 0.5585 GB, free: 7.926 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.1169, allocations: 103.7 kB / 0.5586 GB, free: 7.824 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.117, allocations: 7.938 kB / 0.5586 GB, free: 7.816 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.1171, allocations: 75.94 kB / 0.5587 GB, free: 7.742 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.392e-05/0.1172, allocations: 31.89 kB / 0.5587 GB, free: 7.711 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.891e-05/0.1172, allocations: 55.61 kB / 0.5588 GB, free: 7.656 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.1174, allocations: 155.8 kB / 0.5589 GB, free: 7.504 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1175, allocations: 0 / 0.5589 GB, free: 7.504 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1175, allocations: 4 kB / 0.5589 GB, free: 7.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.1175, allocations: 0 / 0.5589 GB, free: 7.5 MB / 430.1 MB 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.000605/0.1181, allocations: 484.3 kB / 0.5594 GB, free: 6.973 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.1181, allocations: 12.03 kB / 0.5594 GB, free: 6.961 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.163e-05/0.1182, allocations: 34.75 kB / 0.5594 GB, free: 6.918 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.1182, allocations: 16.75 kB / 0.5595 GB, free: 6.902 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.1184, allocations: 215.9 kB / 0.5597 GB, free: 6.652 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.1184, allocations: 8.375 kB / 0.5597 GB, free: 6.645 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.1184, allocations: 4.375 kB / 0.5597 GB, free: 6.641 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.1186, allocations: 119.5 kB / 0.5598 GB, free: 6.512 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.1186, allocations: 3.984 kB / 0.5598 GB, free: 6.508 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.1187, allocations: 4 kB / 0.5598 GB, free: 6.504 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1187, allocations: 8 kB / 0.5598 GB, free: 6.496 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.1188, allocations: 71.91 kB / 0.5599 GB, free: 6.426 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003678/0.1192, allocations: 404.8 kB / 0.5603 GB, free: 5.977 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.1193, allocations: 121.1 kB / 0.5604 GB, free: 5.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.669e-05/0.1194, allocations: 85.78 kB / 0.5605 GB, free: 5.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.1195, allocations: 0 / 0.5605 GB, free: 5.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002359/0.1197, allocations: 177.9 kB / 0.5606 GB, free: 5.555 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.1197, allocations: 0 / 0.5606 GB, free: 5.555 MB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004626/0.1202, allocations: 335 kB / 0.561 GB, free: 5.215 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.1202, allocations: 114.8 kB / 0.5611 GB, free: 5.078 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.1204, allocations: 215.2 kB / 0.5613 GB, free: 4.855 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.1204, allocations: 25.7 kB / 0.5613 GB, free: 4.824 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.818e-05/0.1205, allocations: 112.1 kB / 0.5614 GB, free: 4.711 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.824e-05/0.1205, allocations: 35.45 kB / 0.5614 GB, free: 4.676 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-05/0.1206, allocations: 33.66 kB / 0.5615 GB, free: 4.637 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.829e-05/0.1207, allocations: 334.8 kB / 0.5618 GB, free: 4.301 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.115e-05/0.1208, allocations: 59.98 kB / 0.5618 GB, free: 4.242 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.005e-05/0.1209, allocations: 83.64 kB / 0.5619 GB, free: 4.156 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.1211, allocations: 197.3 kB / 0.5621 GB, free: 3.945 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1211, allocations: 0 / 0.5621 GB, free: 3.945 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002995/0.1214, allocations: 267.1 kB / 0.5624 GB, free: 3.672 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.819e-05/0.1214, allocations: 37.7 kB / 0.5624 GB, free: 3.629 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.1214, allocations: 3.984 kB / 0.5624 GB, free: 3.625 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.1215, allocations: 0 / 0.5624 GB, free: 3.625 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.843e-05/0.1215, allocations: 12 kB / 0.5624 GB, free: 3.613 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1216, allocations: 4 kB / 0.5624 GB, free: 3.609 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.88e-05/0.1217, allocations: 15.89 kB / 0.5624 GB, free: 3.594 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.1217, allocations: 8 kB / 0.5624 GB, free: 3.586 MB / 430.1 MB 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.0001301/0.1218, allocations: 179.4 kB / 0.5626 GB, free: 3.395 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.083e-05/0.1219, allocations: 19.81 kB / 0.5626 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/0.1221, allocations: 99.06 kB / 0.5627 GB, free: 3.273 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1221, allocations: 0 / 0.5627 GB, free: 3.273 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1221, allocations: 0 / 0.5627 GB, free: 3.273 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1221, allocations: 4 kB / 0.5627 GB, free: 3.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.1222, allocations: 233.5 kB / 0.563 GB, free: 2.992 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1223, allocations: 0 / 0.563 GB, free: 2.992 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.323e-05/0.1223, allocations: 11.98 kB / 0.563 GB, free: 2.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1223, allocations: 0 / 0.563 GB, free: 2.98 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.1223, allocations: 7.938 kB / 0.563 GB, free: 2.973 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1224, allocations: 4 kB / 0.563 GB, free: 2.969 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1224, allocations: 0 / 0.563 GB, free: 2.969 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003588/0.1227, allocations: 331.4 kB / 0.5633 GB, free: 2.617 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.665e-05/0.1228, allocations: 112.8 kB / 0.5634 GB, free: 2.488 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.552e-05/0.1229, allocations: 12.12 kB / 0.5634 GB, free: 2.477 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.526e-05/0.123, allocations: 7.938 kB / 0.5634 GB, free: 2.469 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.123, allocations: 7.984 kB / 0.5634 GB, free: 2.461 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.123, allocations: 8.094 kB / 0.5634 GB, free: 2.453 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000111/0.1231, allocations: 170.8 kB / 0.5636 GB, free: 2.285 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1232, allocations: 0 / 0.5636 GB, free: 2.285 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002393/0.1234, allocations: 51.94 kB / 0.5636 GB, free: 2.234 MB / 430.1 MB 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.0006398/0.124, allocations: 0.8882 MB / 0.5645 GB, free: 1.309 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002746/0.1243, allocations: 247.3 kB / 0.5647 GB, free: 1.055 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.1243, allocations: 0 / 0.5647 GB, free: 1.055 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.1245, allocations: 167.3 kB / 0.5649 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/0.1247, allocations: 15.98 kB / 0.5649 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.1267, allocations: 2.255 MB / 0.5671 GB, free: 14.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.127, allocations: 0.7277 MB / 0.5678 GB, free: 13.76 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.012e-05/0.127, allocations: 7.984 kB / 0.5678 GB, free: 13.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.821e-05/0.1271, allocations: 43.42 kB / 0.5679 GB, free: 13.71 MB / 446.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1271, allocations: 0 / 0.5679 GB, free: 13.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.274/2.401, allocations: 3.257 MB / 0.5711 GB, free: 10.63 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002305/2.401, allocations: 237.3 kB / 0.5713 GB, free: 10.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.604/4.005, allocations: 0 / 0.5713 GB, free: 10.36 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)