Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0008632/0.0008632, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008341/0.0008341, allocations: 178.2 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8747/0.8747, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001451/0.001451, allocations: 226.5 kB / 260.2 MB, free: 13.03 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6452/0.6452, allocations: 138.4 MB / 455.1 MB, free: 1.637 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.6475 GB, free: 28.74 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.046e-05, allocations: 2.281 kB / 0.6475 GB, free: 28.73 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001593/0.001613, allocations: 1.603 MB / 0.6491 GB, free: 27.49 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0007297/0.002343, allocations: 0.6404 MB / 0.6497 GB, free: 27 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.041e-05/0.002403, allocations: 1.594 kB / 0.6497 GB, free: 27 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.002534, allocations: 82.09 kB / 0.6498 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002118/0.002746, allocations: 105.5 kB / 0.6499 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.003008, allocations: 100.6 kB / 0.65 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.003146, allocations: 132.1 kB / 0.6501 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 7.654e-05/0.003223, allocations: 3.562 kB / 0.6501 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.003404, allocations: 89.84 kB / 0.6502 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.003535, allocations: 110.6 kB / 0.6503 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.003556, allocations: 10.25 kB / 0.6503 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.003658, allocations: 83.77 kB / 0.6504 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 5.15e-05/0.00371, allocations: 32.86 kB / 0.6504 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 4.461e-05/0.003755, allocations: 32.91 kB / 0.6505 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.003944, allocations: 195.5 kB / 0.6506 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.003946, allocations: 0 / 0.6506 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.01e-07/0.003947, allocations: 1.406 kB / 0.6506 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.003951, allocations: 0 / 0.6506 GB, free: 26.46 MB / 0.5105 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.0004635/0.004414, allocations: 411 kB / 0.651 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.004446, allocations: 13.34 kB / 0.651 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.004553, allocations: 20.75 kB / 0.6511 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.004702, allocations: 156.3 kB / 0.6512 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.004715, allocations: 7.844 kB / 0.6512 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.004728, allocations: 3.781 kB / 0.6512 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.004897, allocations: 158 kB / 0.6514 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.004905, allocations: 4.172 kB / 0.6514 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.004917, allocations: 1.875 kB / 0.6514 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.004923, allocations: 5.25 kB / 0.6514 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.532e-05/0.005018, allocations: 100.4 kB / 0.6515 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002534/0.005271, allocations: 344.6 kB / 0.6518 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.005397, allocations: 139 kB / 0.6519 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.086e-05/0.005468, allocations: 102.4 kB / 0.652 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.005489, allocations: 5.125 kB / 0.652 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001612/0.00565, allocations: 209.6 kB / 0.6522 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=13): time 9.22e-07/0.005651, allocations: 0 / 0.6522 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.000379/0.00603, allocations: 414.2 kB / 0.6526 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.006062, allocations: 110.7 kB / 0.6527 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.00618, allocations: 213.6 kB / 0.6529 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.006191, allocations: 31.05 kB / 0.653 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.398e-05/0.006225, allocations: 112.5 kB / 0.6531 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.006251, allocations: 32.41 kB / 0.6531 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.211e-05/0.006293, allocations: 32.41 kB / 0.6531 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.468e-05/0.006328, allocations: 337.7 kB / 0.6535 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.355e-05/0.006391, allocations: 85.91 kB / 0.6536 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.46e-05/0.006456, allocations: 112.5 kB / 0.6537 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.006583, allocations: 204.5 kB / 0.6539 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.006584, allocations: 0 / 0.6539 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002154/0.0068, allocations: 308 kB / 0.6541 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.006826, allocations: 42.3 kB / 0.6542 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.006831, allocations: 5.188 kB / 0.6542 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.006843, allocations: 1.438 kB / 0.6542 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.075e-05/0.006914, allocations: 18.45 kB / 0.6542 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.006918, allocations: 0 / 0.6542 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.858e-05/0.006977, allocations: 10.59 kB / 0.6542 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.006989, allocations: 7.984 kB / 0.6542 GB, free: 23.46 MB / 0.5105 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 7.585e-05/0.007064, allocations: 177.5 kB / 0.6544 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.929e-05/0.007084, allocations: 26.3 kB / 0.6544 GB, free: 23.28 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001414/0.007225, allocations: 104.8 kB / 0.6545 GB, free: 23.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.007228, allocations: 5.359 kB / 0.6545 GB, free: 23.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.007232, allocations: 0 / 0.6545 GB, free: 23.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.007237, allocations: 5.453 kB / 0.6545 GB, free: 23.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.78e-05/0.007325, allocations: 156.8 kB / 0.6547 GB, free: 23.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.007326, allocations: 0 / 0.6547 GB, free: 23.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.192e-05/0.007358, allocations: 16.75 kB / 0.6547 GB, free: 23.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.007361, allocations: 5.844 kB / 0.6547 GB, free: 23.03 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.007372, allocations: 6.859 kB / 0.6547 GB, free: 23.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.007373, allocations: 1.25 kB / 0.6547 GB, free: 23.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.007374, allocations: 4 kB / 0.6547 GB, free: 23.02 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.007636, allocations: 367.5 kB / 0.6551 GB, free: 22.79 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.382e-05/0.00768, allocations: 38.77 kB / 0.6551 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.007701, allocations: 6.719 kB / 0.6551 GB, free: 22.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.938e-05/0.007751, allocations: 8.469 kB / 0.6551 GB, free: 22.76 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.007791, allocations: 8.297 kB / 0.6551 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.007806, allocations: 12.92 kB / 0.6551 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.342e-05/0.00788, allocations: 161.6 kB / 0.6553 GB, free: 22.64 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.00788, allocations: 0 / 0.6553 GB, free: 22.64 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001703/0.00805, allocations: 46.08 kB / 0.6553 GB, free: 22.63 MB / 0.5105 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.0001324/0.008183, allocations: 138.9 kB / 0.6555 GB, free: 22.52 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002273/0.00841, allocations: 281.5 kB / 0.6557 GB, free: 22.33 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.008412, allocations: 0 / 0.6557 GB, free: 22.33 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.762e-05/0.008509, allocations: 169.2 kB / 0.6559 GB, free: 22.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.008665, allocations: 18.8 kB / 0.6559 GB, free: 22.19 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004097/0.009075, allocations: 409.7 kB / 0.6563 GB, free: 21.89 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.177e-05/0.009146, allocations: 115.8 kB / 0.6564 GB, free: 21.78 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.368e-05/0.00917, allocations: 14.16 kB / 0.6564 GB, free: 21.77 MB / 0.5105 GB Notification: Performance of SimCode: time 4.81e-07/0.009171, allocations: 0 / 0.6564 GB, free: 21.77 MB / 0.5105 GB Notification: Performance of Templates: time 0.002476/0.01165, allocations: 1.935 MB / 0.6583 GB, free: 20.78 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.193200338631868] Failed to read output from testmodel.py, exit status != 0: 0.0157388960942626 0.021428816 0.016211497000000002 Calling exit ...