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.001298/0.001298, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001623/0.001623, allocations: 215.7 kB / 23.78 MB, free: 4.555 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.497/1.497, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.9775/0.9775, allocations: 150 MB / 464 MB, free: 10.21 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.002/0.002, allocations: 62.44 kB / 0.6419 GB, free: 9.887 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1919, allocations: 89.17 MB / 0.729 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002943/0.1949, allocations: 1.592 MB / 0.7306 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001189/0.1961, allocations: 0.6271 MB / 0.7312 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.315e-05/0.1961, allocations: 4 kB / 0.7312 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00016/0.1963, allocations: 75.83 kB / 0.7313 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000296/0.1966, allocations: 99.67 kB / 0.7314 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003788/0.197, allocations: 115.7 kB / 0.7315 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002169/0.1972, allocations: 131.6 kB / 0.7316 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.1973, allocations: 11.98 kB / 0.7316 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002088/0.1975, allocations: 67.81 kB / 0.7317 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002152/0.1977, allocations: 115.7 kB / 0.7318 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.776e-05/0.1977, allocations: 8 kB / 0.7318 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.1979, allocations: 87.92 kB / 0.7319 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.991e-05/0.198, allocations: 35.84 kB / 0.7319 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.247e-05/0.1981, allocations: 47.67 kB / 0.732 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002977/0.1984, allocations: 175.6 kB / 0.7321 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1984, allocations: 3.938 kB / 0.7321 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1984, allocations: 0 / 0.7321 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.1984, allocations: 0 / 0.7321 GB, free: 13.59 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.0008453/0.1992, allocations: 419 kB / 0.7325 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.1993, allocations: 8.031 kB / 0.7325 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.907e-05/0.1993, allocations: 4.188 kB / 0.7325 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.298e-05/0.1993, allocations: 38.73 kB / 0.7326 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/0.1995, allocations: 24.8 kB / 0.7326 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.1998, allocations: 158.2 kB / 0.7328 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.1998, allocations: 8.312 kB / 0.7328 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.1998, allocations: 4.375 kB / 0.7328 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000281/0.2001, allocations: 160 kB / 0.7329 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.2001, allocations: 0 / 0.7329 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.2001, allocations: 3.984 kB / 0.7329 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2001, allocations: 0 / 0.7329 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.2003, allocations: 105.6 kB / 0.733 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005035/0.2008, allocations: 360 kB / 0.7334 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002386/0.2011, allocations: 142.8 kB / 0.7335 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.2012, allocations: 107.5 kB / 0.7336 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.2012, allocations: 0 / 0.7336 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003356/0.2016, allocations: 208.5 kB / 0.7338 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.2016, allocations: 0 / 0.7338 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0006873/0.2023, allocations: 402.5 kB / 0.7342 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.2024, allocations: 110.8 kB / 0.7343 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.2026, allocations: 216.6 kB / 0.7345 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.2027, allocations: 29.7 kB / 0.7345 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.887e-05/0.2027, allocations: 120.1 kB / 0.7346 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.967e-05/0.2028, allocations: 39.88 kB / 0.7347 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-05/0.2029, allocations: 25.72 kB / 0.7347 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.203, allocations: 338.7 kB / 0.735 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.2032, allocations: 93.67 kB / 0.7351 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.2033, allocations: 109.9 kB / 0.7352 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002389/0.2035, allocations: 201 kB / 0.7354 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.2035, allocations: 3.938 kB / 0.7354 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003959/0.2039, allocations: 300.9 kB / 0.7357 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.498e-05/0.204, allocations: 37.7 kB / 0.7357 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.204, allocations: 3.984 kB / 0.7357 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.275e-05/0.204, allocations: 8 kB / 0.7358 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.2041, allocations: 8 kB / 0.7358 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.2041, allocations: 0 / 0.7358 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.2043, allocations: 19.88 kB / 0.7358 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.2043, allocations: 8 kB / 0.7358 GB, free: 9.492 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.0001921/0.2045, allocations: 181.4 kB / 0.736 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.534e-05/0.2045, allocations: 19.91 kB / 0.736 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002328/0.2047, allocations: 103.1 kB / 0.7361 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.2047, allocations: 4 kB / 0.7361 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.2047, allocations: 4 kB / 0.7361 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.2048, allocations: 384 / 0.7361 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.205, allocations: 192.6 kB / 0.7363 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.205, allocations: 8 kB / 0.7363 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.732e-05/0.205, allocations: 8 kB / 0.7363 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.205, allocations: 0 / 0.7363 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.2051, allocations: 8 kB / 0.7363 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2051, allocations: 0 / 0.7363 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.2051, allocations: 4.078 kB / 0.7363 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005083/0.2056, allocations: 377 kB / 0.7367 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.527e-05/0.2056, allocations: 31.83 kB / 0.7367 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.93e-05/0.2057, allocations: 8 kB / 0.7367 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.937e-05/0.2058, allocations: 7.984 kB / 0.7367 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.058e-05/0.2058, allocations: 7.984 kB / 0.7367 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.2059, allocations: 12 kB / 0.7367 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001831/0.2061, allocations: 171.9 kB / 0.7369 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2061, allocations: 0 / 0.7369 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002918/0.2063, allocations: 40 kB / 0.7369 GB, free: 8.23 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.0009511/0.2073, allocations: 0.9308 MB / 0.7378 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004004/0.2077, allocations: 282.7 kB / 0.7381 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2077, allocations: 0 / 0.7381 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002078/0.2079, allocations: 173 kB / 0.7383 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.2081, allocations: 13.42 kB / 0.7383 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002965/0.2111, allocations: 2.406 MB / 0.7406 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001384/0.2112, allocations: 115.1 kB / 0.7407 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.762e-05/0.2113, allocations: 7.984 kB / 0.7407 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.433e-05/0.2114, allocations: 39.42 kB / 0.7408 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of SimCode: time 9.71e-07/0.2114, allocations: 0 / 0.7408 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/0.2363, allocations: 3.801 MB / 0.7445 GB, free: 448 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.65, allocations: 11.8 kB / 0.7445 GB, free: 440 kB / 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.550455186050385] Failed to read output from testmodel.py, exit status != 0: 11.820522925932892 11.846672081 11.642924156 Calling exit ...