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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001434, allocations: 105.7 kB / 16.4 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001418, allocations: 191.7 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7832/0.7832, allocations: 132.2 MB / 429.4 MB, free: 5.973 MB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 71.59 kB / 0.5894 GB, free: 24.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1364, allocations: 80.2 MB / 0.6677 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002543/0.139, allocations: 1.485 MB / 0.6691 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009843/0.14, allocations: 0.5843 MB / 0.6697 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.166e-05/0.14, allocations: 0 / 0.6697 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.1402, allocations: 79.81 kB / 0.6698 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001798/0.1404, allocations: 87.75 kB / 0.6699 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003366/0.1407, allocations: 87.77 kB / 0.67 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.1409, allocations: 95.8 kB / 0.67 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.137e-05/0.141, allocations: 7.984 kB / 0.6701 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.1411, allocations: 71.73 kB / 0.6701 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.1413, allocations: 83.8 kB / 0.6702 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.1413, allocations: 8 kB / 0.6702 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.1415, allocations: 83.92 kB / 0.6703 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.184e-05/0.1415, allocations: 19.92 kB / 0.6703 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.429e-05/0.1416, allocations: 47.66 kB / 0.6704 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.1418, allocations: 143.6 kB / 0.6705 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.1419, allocations: 4 kB / 0.6705 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1419, allocations: 0 / 0.6705 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.76e-06/0.1419, allocations: 0 / 0.6705 GB, free: 6.973 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.0006107/0.1425, allocations: 452.4 kB / 0.6709 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1425, allocations: 16.03 kB / 0.6709 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.303e-05/0.1426, allocations: 30.75 kB / 0.671 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.44e-05/0.1426, allocations: 12.89 kB / 0.671 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.1429, allocations: 208.9 kB / 0.6712 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.1429, allocations: 4.375 kB / 0.6712 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.1429, allocations: 4.375 kB / 0.6712 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.1431, allocations: 111.4 kB / 0.6713 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.1431, allocations: 0 / 0.6713 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.1432, allocations: 4 kB / 0.6713 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1432, allocations: 0 / 0.6713 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.949e-05/0.1433, allocations: 63.95 kB / 0.6714 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004088/0.1437, allocations: 305.6 kB / 0.6717 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.1438, allocations: 93.2 kB / 0.6717 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.923e-05/0.1439, allocations: 81.67 kB / 0.6718 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.144, allocations: 0 / 0.6718 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002143/0.1442, allocations: 158.9 kB / 0.672 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.263e-06/0.1442, allocations: 0 / 0.672 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004591/0.1447, allocations: 299.4 kB / 0.6723 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.325e-05/0.1447, allocations: 110.8 kB / 0.6724 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.1449, allocations: 199.1 kB / 0.6726 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.145, allocations: 29.7 kB / 0.6726 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.548e-05/0.1451, allocations: 108.1 kB / 0.6727 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.1451, allocations: 35.67 kB / 0.6727 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.1451, allocations: 21.72 kB / 0.6727 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.1453, allocations: 334.8 kB / 0.6731 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.263e-05/0.1454, allocations: 52.09 kB / 0.6731 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.036e-05/0.1455, allocations: 71.88 kB / 0.6732 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.1457, allocations: 177 kB / 0.6733 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1457, allocations: 0 / 0.6733 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000301/0.146, allocations: 243.1 kB / 0.6736 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.608e-05/0.146, allocations: 40.19 kB / 0.6736 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.146, allocations: 4 kB / 0.6736 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.146, allocations: 4.031 kB / 0.6736 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.922e-05/0.1461, allocations: 8 kB / 0.6736 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1461, allocations: 3.984 kB / 0.6736 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.174e-05/0.1462, allocations: 7.984 kB / 0.6736 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.1462, allocations: 4 kB / 0.6736 GB, free: 3.418 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.0001427/0.1464, allocations: 183.4 kB / 0.6738 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.1464, allocations: 15.91 kB / 0.6738 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001435/0.1465, allocations: 67.03 kB / 0.6739 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1466, allocations: 0 / 0.6739 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.1466, allocations: 11.92 kB / 0.6739 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1466, allocations: 0 / 0.6739 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.1468, allocations: 221.5 kB / 0.6741 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1468, allocations: 0 / 0.6741 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.441e-05/0.1468, allocations: 12 kB / 0.6741 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1468, allocations: 0 / 0.6741 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.1468, allocations: 4 kB / 0.6741 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1469, allocations: 3.938 kB / 0.6741 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1469, allocations: 3.938 kB / 0.6741 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003592/0.1472, allocations: 307.5 kB / 0.6744 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.16e-05/0.1473, allocations: 97 kB / 0.6745 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.1474, allocations: 8 kB / 0.6745 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.929e-05/0.1474, allocations: 0 / 0.6745 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.1474, allocations: 8.125 kB / 0.6745 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.1475, allocations: 8 kB / 0.6746 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001225/0.1476, allocations: 152.1 kB / 0.6747 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1476, allocations: 0 / 0.6747 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000228/0.1478, allocations: 35.94 kB / 0.6747 GB, free: 2.18 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.0007596/0.1486, allocations: 0.8755 MB / 0.6756 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003097/0.1489, allocations: 227.3 kB / 0.6758 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1489, allocations: 0 / 0.6758 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.1491, allocations: 155.4 kB / 0.676 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.1493, allocations: 8 kB / 0.676 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.1514, allocations: 2.096 MB / 0.678 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.1517, allocations: 0.7158 MB / 0.6787 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.834e-05/0.1518, allocations: 7.984 kB / 0.6787 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.168e-05/0.1518, allocations: 41.77 kB / 0.6788 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.1518, allocations: 0 / 0.6788 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02341/0.1752, allocations: 3.058 MB / 0.6817 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.403/7.578, allocations: 10.58 kB / 0.6817 GB, free: 10.96 MB / 0.5137 GB " [Timeout remaining time 652] (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/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.82143647922203] Failed to read output from testmodel.py, exit status != 0: 7.6468952998984605 7.671131988 7.524934221 Calling exit ...