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/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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009274/0.009274, allocations: 100.8 kB / 15.73 MB, free: 6.051 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.002109/0.002109, allocations: 191.2 kB / 16.67 MB, free: 5.98 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9472/0.9472, allocations: 135.1 MB / 425.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.91 kB / 0.5851 GB, free: 3.859 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4572/0.4585, allocations: 80.91 MB / 0.6641 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002266/0.4608, allocations: 1.495 MB / 0.6656 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008602/0.4617, allocations: 0.5871 MB / 0.6662 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.067e-05/0.4617, allocations: 0 / 0.6662 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.4619, allocations: 74.67 kB / 0.6663 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.4621, allocations: 84.09 kB / 0.6663 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003644/0.4625, allocations: 94.98 kB / 0.6664 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001459/0.4626, allocations: 93.77 kB / 0.6665 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.159e-05/0.4627, allocations: 8.531 kB / 0.6665 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.4629, allocations: 62.58 kB / 0.6666 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.463, allocations: 90.53 kB / 0.6667 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.463, allocations: 8.406 kB / 0.6667 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.4631, allocations: 80.7 kB / 0.6668 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.197e-05/0.4632, allocations: 22.73 kB / 0.6668 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.686e-05/0.4633, allocations: 50.62 kB / 0.6668 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.4635, allocations: 141.1 kB / 0.667 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4635, allocations: 0 / 0.667 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.81e-07/0.4635, allocations: 0 / 0.667 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.4635, allocations: 0 / 0.667 GB, free: 5.246 MB / 0.4981 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.0004357/0.4639, allocations: 450.7 kB / 0.6674 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.464, allocations: 13.81 kB / 0.6674 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.944e-05/0.464, allocations: 36 kB / 0.6674 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.662e-05/0.4641, allocations: 15.44 kB / 0.6674 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.4643, allocations: 202.5 kB / 0.6676 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.4643, allocations: 3.094 kB / 0.6676 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.4643, allocations: 6.719 kB / 0.6676 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.4645, allocations: 113.1 kB / 0.6678 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.4645, allocations: 0 / 0.6678 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.4645, allocations: 5.344 kB / 0.6678 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.4645, allocations: 1.438 kB / 0.6678 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.682e-05/0.4646, allocations: 58.12 kB / 0.6678 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002985/0.4649, allocations: 308.7 kB / 0.6681 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.4651, allocations: 94.55 kB / 0.6682 GB, free: 4 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.981e-05/0.4652, allocations: 76.86 kB / 0.6683 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.4652, allocations: 0.9375 kB / 0.6683 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/0.4654, allocations: 154.9 kB / 0.6684 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.4654, allocations: 0 / 0.6684 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.000426/0.4658, allocations: 293.5 kB / 0.6687 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.4659, allocations: 113.8 kB / 0.6688 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.466, allocations: 201.3 kB / 0.669 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.4661, allocations: 26.7 kB / 0.669 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.14e-05/0.4661, allocations: 111 kB / 0.6691 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.4662, allocations: 32.06 kB / 0.6692 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/0.4662, allocations: 22.22 kB / 0.6692 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.84e-05/0.4663, allocations: 328 kB / 0.6695 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.898e-05/0.4663, allocations: 57.25 kB / 0.6696 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.137e-05/0.4664, allocations: 67.25 kB / 0.6696 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.4666, allocations: 178.5 kB / 0.6698 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4666, allocations: 0 / 0.6698 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002745/0.4669, allocations: 250.2 kB / 0.67 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/0.4669, allocations: 40.5 kB / 0.6701 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.4669, allocations: 1.438 kB / 0.6701 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.467, allocations: 5.594 kB / 0.6701 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.408e-05/0.467, allocations: 6.688 kB / 0.6701 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.4671, allocations: 240 / 0.6701 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.737e-05/0.4671, allocations: 7.547 kB / 0.6701 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.4671, allocations: 8.016 kB / 0.6701 GB, free: 2.543 MB / 0.4981 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 (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 (6): * Single equations (assignments): 5 * 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.0001232/0.4673, allocations: 176.9 kB / 0.6703 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.4673, allocations: 20.59 kB / 0.6703 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/0.4674, allocations: 72.69 kB / 0.6704 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.4675, allocations: 5.688 kB / 0.6704 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.4675, allocations: 3.984 kB / 0.6704 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.4675, allocations: 1.562 kB / 0.6704 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.4676, allocations: 209.4 kB / 0.6706 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4676, allocations: 0 / 0.6706 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.397e-05/0.4677, allocations: 6.5 kB / 0.6706 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.4677, allocations: 1.281 kB / 0.6706 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.4677, allocations: 2.812 kB / 0.6706 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4677, allocations: 1.281 kB / 0.6706 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4677, allocations: 1.188 kB / 0.6706 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003037/0.468, allocations: 312.7 kB / 0.6709 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.422e-05/0.4681, allocations: 105.6 kB / 0.671 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.4681, allocations: 3.5 kB / 0.671 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.552e-05/0.4682, allocations: 3.469 kB / 0.671 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.4682, allocations: 10.11 kB / 0.671 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.4683, allocations: 4.625 kB / 0.671 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001113/0.4684, allocations: 156.3 kB / 0.6711 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4684, allocations: 0 / 0.6711 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002665/0.4686, allocations: 40.34 kB / 0.6712 GB, free: 1.645 MB / 0.4981 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) * Number of clocked states: 0 () * 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 (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.0006663/0.4693, allocations: 0.8662 MB / 0.672 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002954/0.4696, allocations: 224.2 kB / 0.6722 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4696, allocations: 1.031 kB / 0.6722 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.4698, allocations: 150.9 kB / 0.6724 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.47, allocations: 18.06 kB / 0.6724 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/0.4724, allocations: 2.091 MB / 0.6744 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.4727, allocations: 0.7168 MB / 0.6751 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.134e-05/0.4727, allocations: 1.25 kB / 0.6751 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.599e-05/0.4728, allocations: 39.48 kB / 0.6752 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of SimCode: time 5.51e-07/0.4728, allocations: 0 / 0.6752 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02943/0.5022, allocations: 3.063 MB / 0.6782 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.676/8.178, allocations: 12.34 kB / 0.6782 GB, free: 12.78 MB / 0.5137 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/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)