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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 107.8 kB / 16.45 MB, free: 6.445 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.001459/0.001459, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.499/1.499, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.088/1.088, allocations: 175.8 MB / 478.4 MB, free: 3.434 MB / 366.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-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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003137/0.003137, allocations: 71.88 kB / 0.6652 GB, free: 11.21 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2058, allocations: 94.55 MB / 0.7575 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003426/0.2092, allocations: 1.614 MB / 0.7591 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.2105, allocations: 0.6465 MB / 0.7597 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.977e-05/0.2106, allocations: 0 / 0.7597 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001885/0.2108, allocations: 79.81 kB / 0.7598 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000316/0.2111, allocations: 107.7 kB / 0.7599 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003765/0.2115, allocations: 91.7 kB / 0.76 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.2117, allocations: 131.7 kB / 0.7601 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.646e-05/0.2117, allocations: 19.92 kB / 0.7601 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.2119, allocations: 75.73 kB / 0.7602 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/0.2121, allocations: 115.7 kB / 0.7603 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.2121, allocations: 8 kB / 0.7603 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.2123, allocations: 75.92 kB / 0.7604 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.521e-05/0.2123, allocations: 31.92 kB / 0.7604 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.39e-05/0.2124, allocations: 55.59 kB / 0.7605 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002581/0.2126, allocations: 163.4 kB / 0.7606 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2127, allocations: 3.938 kB / 0.7606 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2127, allocations: 4 kB / 0.7606 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.2127, allocations: 4 kB / 0.7606 GB, free: 14.39 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008636/0.2135, allocations: 484.1 kB / 0.7611 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.2136, allocations: 12.03 kB / 0.7611 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.972e-05/0.2136, allocations: 34.73 kB / 0.7611 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.411e-05/0.2137, allocations: 16.84 kB / 0.7612 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003748/0.214, allocations: 216.1 kB / 0.7614 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.2141, allocations: 384 / 0.7614 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.2141, allocations: 8.375 kB / 0.7614 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002735/0.2144, allocations: 131.4 kB / 0.7615 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.2144, allocations: 0 / 0.7615 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.2144, allocations: 0 / 0.7615 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.2144, allocations: 4 kB / 0.7615 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.2145, allocations: 71.95 kB / 0.7616 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005973/0.2151, allocations: 416.8 kB / 0.762 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.2153, allocations: 105.2 kB / 0.7621 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.2155, allocations: 69.78 kB / 0.7621 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.2155, allocations: 3.938 kB / 0.7621 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003323/0.2158, allocations: 175.4 kB / 0.7623 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.2158, allocations: 0 / 0.7623 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007047/0.2165, allocations: 339.3 kB / 0.7626 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.2166, allocations: 106.8 kB / 0.7627 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002806/0.2169, allocations: 220.1 kB / 0.7629 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.2169, allocations: 25.7 kB / 0.763 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.2171, allocations: 116.1 kB / 0.7631 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.87e-05/0.2171, allocations: 35.75 kB / 0.7631 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.591e-05/0.2172, allocations: 33.64 kB / 0.7631 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002055/0.2174, allocations: 330.8 kB / 0.7635 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.779e-05/0.2175, allocations: 59.97 kB / 0.7635 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.2176, allocations: 81.62 kB / 0.7636 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000274/0.2179, allocations: 193 kB / 0.7638 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2179, allocations: 0 / 0.7638 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004039/0.2183, allocations: 275.6 kB / 0.764 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.581e-05/0.2183, allocations: 37.64 kB / 0.7641 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.2183, allocations: 4 kB / 0.7641 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.2184, allocations: 0 / 0.7641 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.2185, allocations: 19.92 kB / 0.7641 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.2185, allocations: 0 / 0.7641 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.2186, allocations: 11.95 kB / 0.7641 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.2186, allocations: 11.98 kB / 0.7641 GB, free: 10.48 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (decAng.tNext,$PRE.decAng.tNext,$whenCondition2,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 (10): * Single equations (assignments): 9 * 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.0002084/0.2188, allocations: 175.5 kB / 0.7643 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.953e-05/0.2189, allocations: 23.89 kB / 0.7643 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002399/0.2191, allocations: 99.09 kB / 0.7644 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.2191, allocations: 0 / 0.7644 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.2191, allocations: 0 / 0.7644 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.2191, allocations: 7.984 kB / 0.7644 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.2194, allocations: 237.4 kB / 0.7646 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2194, allocations: 0 / 0.7646 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.516e-05/0.2194, allocations: 8 kB / 0.7647 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.2194, allocations: 7.984 kB / 0.7647 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.2195, allocations: 4 kB / 0.7647 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.2195, allocations: 4 kB / 0.7647 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2195, allocations: 0 / 0.7647 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000467/0.2199, allocations: 338.5 kB / 0.765 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.22, allocations: 101 kB / 0.7651 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.657e-05/0.2201, allocations: 11.98 kB / 0.7651 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.419e-05/0.2202, allocations: 11.94 kB / 0.7651 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.293e-05/0.2202, allocations: 11.98 kB / 0.7651 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.2203, allocations: 4 kB / 0.7651 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001713/0.2204, allocations: 167 kB / 0.7653 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2204, allocations: 0 / 0.7653 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002902/0.2207, allocations: 43.88 kB / 0.7653 GB, free: 9.133 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,decAng.tNext,$whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 7 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1,decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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.0009997/0.2217, allocations: 0.9057 MB / 0.7662 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003849/0.2221, allocations: 211.3 kB / 0.7664 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2221, allocations: 0 / 0.7664 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001787/0.2223, allocations: 131.6 kB / 0.7665 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.2225, allocations: 13.67 kB / 0.7666 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002943/0.2255, allocations: 2.264 MB / 0.7688 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004536/0.2259, allocations: 0.7197 MB / 0.7695 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.544e-05/0.226, allocations: 11.98 kB / 0.7695 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.105e-05/0.2261, allocations: 43.42 kB / 0.7695 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of SimCode: time 9.51e-07/0.2261, allocations: 0 / 0.7695 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03226/0.2583, allocations: 3.534 MB / 0.773 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.451/8.709, allocations: 3.25 kB / 0.773 GB, free: 1.273 MB / 0.5762 GB " [Timeout remaining time 651] (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 --stepSize=12614.4 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.674591911025345] Failed to read output from testmodel.py, exit status != 0: 8.780494392849505 8.79940939 8.582979957 Calling exit ...