Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.821/0.821, allocations: 133.6 MB / 141.6 MB, free: 2.906 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.681/1.681, allocations: 221.5 MB / 395.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009968/0.0009966, allocations: 95.48 kB / 478.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.642e-05/2.646e-05, allocations: 4 kB / 0.5536 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5371/0.5372, allocations: 82.31 MB / 0.6339 GB, free: 40.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1747/0.712, allocations: 112 MB / 0.7433 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/0.7124, allocations: 83.94 kB / 0.7434 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.009377/0.7218, allocations: 3.248 MB / 0.7466 GB, free: 7.305 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.873e-06/0.7218, allocations: 3.938 kB / 0.7466 GB, free: 7.301 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.7218, allocations: 0 / 0.7466 GB, free: 7.301 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005493/0.7224, allocations: 431.8 kB / 0.747 GB, free: 6.828 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/0.7224, allocations: 16.03 kB / 0.747 GB, free: 6.812 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.346e-05/0.7225, allocations: 15.81 kB / 0.747 GB, free: 6.797 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/0.7229, allocations: 215.6 kB / 0.7472 GB, free: 6.543 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.7229, allocations: 0 / 0.7472 GB, free: 6.543 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.7229, allocations: 4 kB / 0.7472 GB, free: 6.539 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001609/0.7231, allocations: 75.95 kB / 0.7473 GB, free: 6.465 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.7233, allocations: 123.3 kB / 0.7474 GB, free: 6.332 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.7233, allocations: 0 / 0.7474 GB, free: 6.332 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.7233, allocations: 0 / 0.7474 GB, free: 6.332 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.7234, allocations: 4 kB / 0.7474 GB, free: 6.328 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005197/0.7239, allocations: 373.4 kB / 0.7478 GB, free: 5.922 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.7241, allocations: 113.1 kB / 0.7479 GB, free: 5.793 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.7242, allocations: 89.8 kB / 0.748 GB, free: 5.699 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.7242, allocations: 0 / 0.748 GB, free: 5.699 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002798/0.7245, allocations: 170.7 kB / 0.7482 GB, free: 5.508 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.7245, allocations: 0 / 0.7482 GB, free: 5.508 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.0006544/0.7252, allocations: 274.8 kB / 0.7484 GB, free: 5.234 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.015e-05/0.7253, allocations: 110.8 kB / 0.7485 GB, free: 5.102 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.7255, allocations: 174.3 kB / 0.7487 GB, free: 4.926 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.7255, allocations: 29.7 kB / 0.7487 GB, free: 4.891 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.7257, allocations: 108.1 kB / 0.7488 GB, free: 4.781 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.245e-05/0.7257, allocations: 27.64 kB / 0.7488 GB, free: 4.754 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.478e-05/0.7257, allocations: 4 kB / 0.7488 GB, free: 4.75 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.7259, allocations: 326.8 kB / 0.7492 GB, free: 4.422 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.615e-05/0.726, allocations: 67.97 kB / 0.7492 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.7261, allocations: 89.61 kB / 0.7493 GB, free: 4.262 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.7263, allocations: 72.58 kB / 0.7494 GB, free: 4.191 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.7263, allocations: 0 / 0.7494 GB, free: 4.191 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004282/0.7267, allocations: 273.3 kB / 0.7496 GB, free: 3.918 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.458e-05/0.7268, allocations: 37.69 kB / 0.7497 GB, free: 3.875 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.7268, allocations: 0 / 0.7497 GB, free: 3.875 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.7268, allocations: 0 / 0.7497 GB, free: 3.875 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.546e-05/0.7269, allocations: 8 kB / 0.7497 GB, free: 3.867 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.7269, allocations: 0 / 0.7497 GB, free: 3.867 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.222e-05/0.727, allocations: 8.031 kB / 0.7497 GB, free: 3.859 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/0.727, allocations: 11.94 kB / 0.7497 GB, free: 3.848 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,$PRE.solDecNOAA.nextEvent,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001497/0.7272, allocations: 150.8 kB / 0.7498 GB, free: 3.688 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005131/0.7277, allocations: 286.9 kB / 0.7501 GB, free: 3.398 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.7278, allocations: 15.81 kB / 0.7501 GB, free: 3.383 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001799/0.7279, allocations: 71.58 kB / 0.7502 GB, free: 3.312 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.728, allocations: 4.031 kB / 0.7502 GB, free: 3.309 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.728, allocations: 4 kB / 0.7502 GB, free: 3.305 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.728, allocations: 0 / 0.7502 GB, free: 3.305 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.7282, allocations: 205.9 kB / 0.7504 GB, free: 3.066 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.7282, allocations: 0 / 0.7504 GB, free: 3.066 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.69e-05/0.7283, allocations: 11.98 kB / 0.7504 GB, free: 3.055 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.7283, allocations: 0 / 0.7504 GB, free: 3.055 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.7283, allocations: 8.062 kB / 0.7504 GB, free: 3.047 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.7283, allocations: 0 / 0.7504 GB, free: 3.047 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.7283, allocations: 0 / 0.7504 GB, free: 3.047 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006021/0.7289, allocations: 348.8 kB / 0.7508 GB, free: 2.68 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.7291, allocations: 108.9 kB / 0.7509 GB, free: 2.555 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.762e-05/0.7291, allocations: 7.984 kB / 0.7509 GB, free: 2.547 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.956e-05/0.7292, allocations: 4 kB / 0.7509 GB, free: 2.543 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/0.7292, allocations: 0 / 0.7509 GB, free: 2.543 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/0.7293, allocations: 19.98 kB / 0.7509 GB, free: 2.523 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001422/0.7294, allocations: 145.2 kB / 0.751 GB, free: 2.383 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7294, allocations: 0 / 0.751 GB, free: 2.383 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002618/0.7297, allocations: 43.94 kB / 0.7511 GB, free: 2.34 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 6 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008992/0.7306, allocations: 0.906 MB / 0.752 GB, free: 1.395 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003141/0.7309, allocations: 207.4 kB / 0.7522 GB, free: 1.18 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.7309, allocations: 0 / 0.7522 GB, free: 1.18 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.7311, allocations: 147.3 kB / 0.7523 GB, free: 1.023 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.7313, allocations: 10.08 kB / 0.7523 GB, free: 1.012 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006804/0.732, allocations: 299.1 kB / 0.7526 GB, free: 0.6758 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004376/0.7325, allocations: 0.7236 MB / 0.7533 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.754e-05/0.7325, allocations: 8.312 kB / 0.7533 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.839e-05/0.7326, allocations: 27.44 kB / 0.7533 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of SimCode: time 2.51e-07/0.7326, allocations: 0 / 0.7533 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02415/0.7567, allocations: 2.435 MB / 0.7557 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002712/0.7571, allocations: 157.8 kB / 0.7559 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.772/2.529, allocations: 3.938 kB / 0.7559 GB, free: 13.28 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)