Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IDEAS_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.001054/0.001054, allocations: 174.4 kB / 7.647 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.7992/0.7992, allocations: 133.6 MB / 141.6 MB, free: 2.855 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.864/1.864, allocations: 221.5 MB / 395.5 MB, free: 10.78 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.0008743/0.0008746, allocations: 99.28 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.559e-05/2.561e-05, allocations: 4 kB / 0.5535 GB, free: 8.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6179/0.6179, allocations: 82.31 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1681/0.7861, allocations: 112 MB / 0.7433 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/0.7865, allocations: 79.95 kB / 0.7434 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.009711/0.7962, allocations: 3.24 MB / 0.7466 GB, free: 7.332 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7962, allocations: 0 / 0.7466 GB, free: 7.332 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.719e-06/0.7963, allocations: 4 kB / 0.7466 GB, free: 7.328 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.0005509/0.7968, allocations: 435.8 kB / 0.747 GB, free: 6.852 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.7969, allocations: 15.97 kB / 0.747 GB, free: 6.836 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.585e-05/0.797, allocations: 15.81 kB / 0.747 GB, free: 6.82 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.7973, allocations: 211.6 kB / 0.7472 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.7973, allocations: 0 / 0.7472 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.7974, allocations: 11.92 kB / 0.7472 GB, free: 6.559 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000177/0.7975, allocations: 79.95 kB / 0.7473 GB, free: 6.48 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.7978, allocations: 119.3 kB / 0.7474 GB, free: 6.352 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.7978, allocations: 4 kB / 0.7474 GB, free: 6.348 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.7978, allocations: 0 / 0.7474 GB, free: 6.348 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.7978, allocations: 0 / 0.7474 GB, free: 6.348 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005601/0.7984, allocations: 385.4 kB / 0.7478 GB, free: 5.93 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.7986, allocations: 105.1 kB / 0.7479 GB, free: 5.809 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.7987, allocations: 89.78 kB / 0.748 GB, free: 5.715 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.7988, allocations: 8 kB / 0.748 GB, free: 5.707 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002549/0.799, allocations: 170.7 kB / 0.7482 GB, free: 5.516 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 1.783e-06/0.799, allocations: 3.938 kB / 0.7482 GB, free: 5.512 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.0006657/0.7997, allocations: 263 kB / 0.7484 GB, free: 5.25 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.127e-05/0.7998, allocations: 110.8 kB / 0.7485 GB, free: 5.117 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.8, allocations: 178.3 kB / 0.7487 GB, free: 4.938 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.8001, allocations: 29.7 kB / 0.7487 GB, free: 4.902 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.151e-05/0.8002, allocations: 108.1 kB / 0.7488 GB, free: 4.793 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.909e-05/0.8002, allocations: 23.66 kB / 0.7488 GB, free: 4.77 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.277e-06/0.8002, allocations: 0 / 0.7488 GB, free: 4.77 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.8004, allocations: 338.8 kB / 0.7492 GB, free: 4.43 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.8005, allocations: 59.97 kB / 0.7492 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.8006, allocations: 89.61 kB / 0.7493 GB, free: 4.277 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.8008, allocations: 72.64 kB / 0.7494 GB, free: 4.207 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.8008, allocations: 4 kB / 0.7494 GB, free: 4.203 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004762/0.8013, allocations: 273.3 kB / 0.7496 GB, free: 3.93 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.171e-05/0.8013, allocations: 35.58 kB / 0.7497 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.8014, allocations: 0 / 0.7497 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.8014, allocations: 0 / 0.7497 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.126e-05/0.8015, allocations: 11.98 kB / 0.7497 GB, free: 3.879 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.8015, allocations: 0 / 0.7497 GB, free: 3.879 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.7e-05/0.8016, allocations: 4 kB / 0.7497 GB, free: 3.875 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.645e-05/0.8016, allocations: 16.03 kB / 0.7497 GB, free: 3.859 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.0001433/0.8018, allocations: 146.6 kB / 0.7498 GB, free: 3.703 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005519/0.8023, allocations: 287.1 kB / 0.7501 GB, free: 3.414 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/0.8024, allocations: 15.81 kB / 0.7501 GB, free: 3.398 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001795/0.8026, allocations: 63.61 kB / 0.7502 GB, free: 3.336 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.8026, allocations: 4.031 kB / 0.7502 GB, free: 3.332 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.8026, allocations: 11.92 kB / 0.7502 GB, free: 3.32 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.8026, allocations: 4.031 kB / 0.7502 GB, free: 3.316 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.8028, allocations: 205.9 kB / 0.7504 GB, free: 3.078 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.8028, allocations: 0 / 0.7504 GB, free: 3.078 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.383e-05/0.8029, allocations: 4 kB / 0.7504 GB, free: 3.074 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.8029, allocations: 4 kB / 0.7504 GB, free: 3.07 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.8029, allocations: 11.98 kB / 0.7504 GB, free: 3.059 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.8029, allocations: 0 / 0.7504 GB, free: 3.059 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.8029, allocations: 0 / 0.7504 GB, free: 3.059 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005601/0.8035, allocations: 336.8 kB / 0.7507 GB, free: 2.703 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.8036, allocations: 112.9 kB / 0.7509 GB, free: 2.574 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.977e-05/0.8037, allocations: 4.125 kB / 0.7509 GB, free: 2.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.603e-05/0.8038, allocations: 8 kB / 0.7509 GB, free: 2.562 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.559e-05/0.8038, allocations: 7.984 kB / 0.7509 GB, free: 2.555 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.8039, allocations: 8 kB / 0.7509 GB, free: 2.547 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000135/0.804, allocations: 149.2 kB / 0.751 GB, free: 2.402 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.804, allocations: 4 kB / 0.751 GB, free: 2.398 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000312/0.8043, allocations: 43.94 kB / 0.7511 GB, free: 2.355 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.0009196/0.8053, allocations: 0.9088 MB / 0.752 GB, free: 1.41 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002999/0.8056, allocations: 203.4 kB / 0.7522 GB, free: 1.199 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.8056, allocations: 0 / 0.7522 GB, free: 1.199 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.8057, allocations: 147.3 kB / 0.7523 GB, free: 1.043 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.806, allocations: 13.67 kB / 0.7523 GB, free: 1.027 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007605/0.8068, allocations: 295 kB / 0.7526 GB, free: 0.6953 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/0.8072, allocations: 0.7275 MB / 0.7533 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.882e-05/0.8073, allocations: 0 / 0.7533 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.396e-05/0.8073, allocations: 39.42 kB / 0.7533 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of SimCode: time 4.31e-07/0.8074, allocations: 0 / 0.7533 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02824/0.8356, allocations: 2.431 MB / 0.7557 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002813/0.836, allocations: 153 kB / 0.7559 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.826/2.662, allocations: 1.547 kB / 0.7559 GB, free: 13.3 MB / 0.5417 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)