Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 105 kB / 20.48 MB, free: 1.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 213.4 kB / 23.79 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.506/1.506, allocations: 230.6 MB / 257.6 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9651/0.9651, allocations: 150 MB / 464 MB, free: 10.57 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 66.75 kB / 0.642 GB, free: 10.52 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1839, allocations: 89.17 MB / 0.7291 GB, free: 1.418 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002967/0.1868, allocations: 1.622 MB / 0.7307 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.1882, allocations: 0.6972 MB / 0.7314 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.657e-05/0.1882, allocations: 0 / 0.7314 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001566/0.1884, allocations: 75.83 kB / 0.7314 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002866/0.1887, allocations: 107.7 kB / 0.7315 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003789/0.189, allocations: 100.9 kB / 0.7316 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.1892, allocations: 131.7 kB / 0.7318 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.98e-05/0.1893, allocations: 11.92 kB / 0.7318 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00022/0.1895, allocations: 79.75 kB / 0.7319 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.1897, allocations: 115.7 kB / 0.732 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.1897, allocations: 4 kB / 0.732 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.1899, allocations: 87.91 kB / 0.7321 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.869e-05/0.1899, allocations: 27.92 kB / 0.7321 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.21e-05/0.19, allocations: 63.61 kB / 0.7321 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002599/0.1903, allocations: 171.6 kB / 0.7323 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1903, allocations: 4 kB / 0.7323 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1903, allocations: 0 / 0.7323 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.1903, allocations: 0 / 0.7323 GB, free: 14.12 MB / 0.5606 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.0006994/0.191, allocations: 423 kB / 0.7327 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.191, allocations: 8.031 kB / 0.7327 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.801e-05/0.1911, allocations: 8.188 kB / 0.7327 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.72e-05/0.1911, allocations: 42.72 kB / 0.7328 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/0.1913, allocations: 24.8 kB / 0.7328 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.1915, allocations: 158.2 kB / 0.7329 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.1915, allocations: 4.375 kB / 0.7329 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.1915, allocations: 8.375 kB / 0.733 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.1918, allocations: 123.2 kB / 0.7331 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1918, allocations: 0 / 0.7331 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.1918, allocations: 0 / 0.7331 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1918, allocations: 0 / 0.7331 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.1919, allocations: 75.95 kB / 0.7331 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004655/0.1924, allocations: 384 kB / 0.7335 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.1926, allocations: 105.1 kB / 0.7336 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.1927, allocations: 73.78 kB / 0.7337 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.1927, allocations: 8 kB / 0.7337 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002548/0.193, allocations: 162.8 kB / 0.7338 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.193, allocations: 0 / 0.7338 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0005634/0.1935, allocations: 339.1 kB / 0.7342 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.266e-05/0.1936, allocations: 110.8 kB / 0.7343 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.1938, allocations: 208.7 kB / 0.7345 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.1939, allocations: 37.7 kB / 0.7345 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.997e-05/0.1939, allocations: 116.1 kB / 0.7346 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.96e-05/0.194, allocations: 31.89 kB / 0.7346 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.487e-05/0.1941, allocations: 37.64 kB / 0.7347 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1942, allocations: 330.7 kB / 0.735 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.699e-05/0.1943, allocations: 67.91 kB / 0.7351 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.1944, allocations: 76.64 kB / 0.7351 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002288/0.1946, allocations: 201 kB / 0.7353 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1947, allocations: 0 / 0.7353 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003889/0.195, allocations: 267.2 kB / 0.7356 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.169e-05/0.1951, allocations: 37.7 kB / 0.7356 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1951, allocations: 0 / 0.7356 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.1951, allocations: 0 / 0.7356 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.1952, allocations: 20.23 kB / 0.7356 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1952, allocations: 0 / 0.7356 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.1954, allocations: 19.89 kB / 0.7357 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.1954, allocations: 11.98 kB / 0.7357 GB, free: 10.38 MB / 0.5606 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.0001644/0.1955, allocations: 179.5 kB / 0.7358 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.352e-05/0.1956, allocations: 19.89 kB / 0.7359 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002221/0.1958, allocations: 103.1 kB / 0.736 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1958, allocations: 0 / 0.736 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1958, allocations: 0 / 0.736 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1958, allocations: 0 / 0.736 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.196, allocations: 208.5 kB / 0.7362 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.196, allocations: 4 kB / 0.7362 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.33e-05/0.1961, allocations: 12 kB / 0.7362 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1961, allocations: 0 / 0.7362 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.1961, allocations: 7.984 kB / 0.7362 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1961, allocations: 0 / 0.7362 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1961, allocations: 4 kB / 0.7362 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004549/0.1966, allocations: 335.4 kB / 0.7365 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.299e-05/0.1966, allocations: 35.83 kB / 0.7365 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/0.1967, allocations: 4 kB / 0.7365 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.718e-05/0.1968, allocations: 11.98 kB / 0.7366 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.1968, allocations: 11.92 kB / 0.7366 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.1968, allocations: 8 kB / 0.7366 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001485/0.197, allocations: 167.9 kB / 0.7367 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.197, allocations: 4 kB / 0.7367 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002608/0.1972, allocations: 40 kB / 0.7368 GB, free: 9.156 MB / 0.5606 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.0008482/0.1981, allocations: 0.8959 MB / 0.7376 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003263/0.1984, allocations: 211.3 kB / 0.7378 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1984, allocations: 0 / 0.7378 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.1986, allocations: 143.3 kB / 0.738 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.1988, allocations: 14.23 kB / 0.738 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.2014, allocations: 2.24 MB / 0.7402 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.2018, allocations: 0.7245 MB / 0.7409 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.201e-05/0.2019, allocations: 7.984 kB / 0.7409 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.145e-05/0.2019, allocations: 43.42 kB / 0.7409 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of SimCode: time 4.71e-07/0.2019, allocations: 0 / 0.7409 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02421/0.2261, allocations: 3.719 MB / 0.7446 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.52, allocations: 7.344 kB / 0.7446 GB, free: 1.168 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.407074473972898] Failed to read output from testmodel.py, exit status != 0: 11.68348526902264 11.699891642 11.506402693 Calling exit ...