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.008547/0.008547, allocations: 102 kB / 15.73 MB, free: 6 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.001931/0.001931, allocations: 193.8 kB / 16.68 MB, free: 5.922 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8307/0.8307, allocations: 135.1 MB / 425.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 61.97 kB / 0.5851 GB, free: 21.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1376, allocations: 80.93 MB / 0.6641 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002568/0.1402, allocations: 1.488 MB / 0.6656 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009865/0.1412, allocations: 0.5805 MB / 0.6662 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.413e-05/0.1413, allocations: 7.938 kB / 0.6662 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001322/0.1414, allocations: 67.83 kB / 0.6662 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001784/0.1416, allocations: 95.67 kB / 0.6663 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003789/0.142, allocations: 87.78 kB / 0.6664 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.1422, allocations: 99.8 kB / 0.6665 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.761e-05/0.1423, allocations: 4 kB / 0.6665 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.1425, allocations: 63.8 kB / 0.6666 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.1426, allocations: 95.78 kB / 0.6667 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.1426, allocations: 4 kB / 0.6667 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.1428, allocations: 71.92 kB / 0.6667 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.426e-05/0.1428, allocations: 27.86 kB / 0.6668 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.739e-05/0.1429, allocations: 47.67 kB / 0.6668 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.1431, allocations: 138.4 kB / 0.6669 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1431, allocations: 4 kB / 0.6669 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1431, allocations: 0 / 0.6669 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.1431, allocations: 0 / 0.6669 GB, free: 3.422 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.0005069/0.1436, allocations: 453.3 kB / 0.6674 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.1437, allocations: 13.11 kB / 0.6674 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.782e-05/0.1437, allocations: 34.75 kB / 0.6674 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.618e-05/0.1438, allocations: 16.75 kB / 0.6674 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.144, allocations: 200.9 kB / 0.6676 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.1441, allocations: 4.375 kB / 0.6676 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.1441, allocations: 384 / 0.6676 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.1443, allocations: 115.4 kB / 0.6677 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.1443, allocations: 4 kB / 0.6677 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.1443, allocations: 0 / 0.6677 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1443, allocations: 0 / 0.6677 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.493e-05/0.1444, allocations: 59.97 kB / 0.6678 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.1448, allocations: 309.5 kB / 0.6681 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.1449, allocations: 97.19 kB / 0.6682 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.381e-05/0.145, allocations: 73.73 kB / 0.6683 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.145, allocations: 3.938 kB / 0.6683 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001865/0.1452, allocations: 154.7 kB / 0.6684 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.1452, allocations: 0 / 0.6684 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004222/0.1457, allocations: 299.1 kB / 0.6687 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.1457, allocations: 114.8 kB / 0.6688 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.1459, allocations: 199.8 kB / 0.669 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.1459, allocations: 25.7 kB / 0.669 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.718e-05/0.146, allocations: 112.1 kB / 0.6691 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.146, allocations: 27.84 kB / 0.6692 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.1461, allocations: 21.72 kB / 0.6692 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.731e-05/0.1462, allocations: 330.9 kB / 0.6695 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.627e-05/0.1462, allocations: 55.97 kB / 0.6695 GB, free: 480 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.894e-05/0.1463, allocations: 69.62 kB / 0.6696 GB, free: 404 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.1465, allocations: 173 kB / 0.6698 GB, free: 212 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.1465, allocations: 4 kB / 0.6698 GB, free: 208 kB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002821/0.1468, allocations: 239.2 kB / 0.67 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.913e-05/0.1468, allocations: 43.25 kB / 0.6701 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.1469, allocations: 8.031 kB / 0.6701 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.1469, allocations: 4 kB / 0.6701 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.591e-05/0.147, allocations: 4 kB / 0.6701 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.147, allocations: 4.234 kB / 0.6701 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.529e-05/0.1471, allocations: 7.875 kB / 0.6701 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.1471, allocations: 7.984 kB / 0.6701 GB, free: 15.88 MB / 0.5137 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.0001258/0.1472, allocations: 171.5 kB / 0.6703 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/0.1472, allocations: 19.8 kB / 0.6703 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001417/0.1474, allocations: 71.09 kB / 0.6703 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1474, allocations: 0 / 0.6703 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1474, allocations: 0 / 0.6703 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.1474, allocations: 3.984 kB / 0.6703 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.1476, allocations: 217.5 kB / 0.6705 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1476, allocations: 0 / 0.6705 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.478e-05/0.1477, allocations: 11.88 kB / 0.6706 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.1477, allocations: 4 kB / 0.6706 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.1478, allocations: 0 / 0.6706 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1478, allocations: 4 kB / 0.6706 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.1478, allocations: 7.984 kB / 0.6706 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003397/0.1481, allocations: 299.4 kB / 0.6709 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-05/0.1482, allocations: 108.9 kB / 0.671 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/0.1483, allocations: 0 / 0.671 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.394e-05/0.1483, allocations: 8 kB / 0.671 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.904e-05/0.1484, allocations: 4 kB / 0.671 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.1484, allocations: 11.98 kB / 0.671 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001109/0.1485, allocations: 153.1 kB / 0.6711 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1485, allocations: 3.938 kB / 0.6711 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002411/0.1488, allocations: 40 kB / 0.6712 GB, free: 14.64 MB / 0.5137 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.0006304/0.1494, allocations: 0.8699 MB / 0.672 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002645/0.1497, allocations: 223.3 kB / 0.6722 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1497, allocations: 0 / 0.6722 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.1498, allocations: 151.4 kB / 0.6724 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.15, allocations: 11.75 kB / 0.6724 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.152, allocations: 2.097 MB / 0.6744 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.1522, allocations: 0.7158 MB / 0.6751 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.625e-05/0.1522, allocations: 0 / 0.6751 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.93e-05/0.1523, allocations: 39.42 kB / 0.6752 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of SimCode: time 3.1e-07/0.1523, allocations: 0 / 0.6752 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01878/0.1711, allocations: 3.111 MB / 0.6782 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.588/7.759, allocations: 6.344 kB / 0.6782 GB, free: 7.379 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)