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.001635/0.001635, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002028/0.002028, allocations: 214.1 kB / 22.99 MB, free: 4.945 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.614/1.614, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.00276/0.00276, allocations: 293 kB / 313.5 MB, free: 2.609 MB / 238.1 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 1.364/1.364, allocations: 180.6 MB / 0.5377 GB, free: 14.54 MB / 382.1 MB " [Timeout remaining time 178] 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: NcDataReader2 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: BuildingSystems 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.002943/0.002943, allocations: 103.2 kB / 0.7407 GB, free: 27.67 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2372, allocations: 95.38 MB / 0.8339 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003275/0.2405, allocations: 1.605 MB / 0.8354 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.2419, allocations: 0.6427 MB / 0.8361 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.407e-05/0.242, allocations: 0 / 0.8361 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001766/0.2421, allocations: 71.83 kB / 0.8361 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003113/0.2425, allocations: 103.7 kB / 0.8362 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003878/0.2428, allocations: 110.2 kB / 0.8363 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.2431, allocations: 127.7 kB / 0.8364 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.831e-05/0.2432, allocations: 4 kB / 0.8365 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002181/0.2434, allocations: 83.73 kB / 0.8365 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002299/0.2436, allocations: 115.7 kB / 0.8366 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.2436, allocations: 7.938 kB / 0.8366 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001732/0.2438, allocations: 83.92 kB / 0.8367 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.576e-05/0.2439, allocations: 35.91 kB / 0.8368 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.353e-05/0.2439, allocations: 35.73 kB / 0.8368 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003057/0.2443, allocations: 187.1 kB / 0.837 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2443, allocations: 0 / 0.837 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2443, allocations: 0 / 0.837 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.2443, allocations: 0 / 0.837 GB, free: 4.641 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.0008018/0.2451, allocations: 419 kB / 0.8374 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.2451, allocations: 12.75 kB / 0.8374 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/0.2453, allocations: 20.84 kB / 0.8374 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.2456, allocations: 154.2 kB / 0.8376 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.2456, allocations: 4.375 kB / 0.8376 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.2456, allocations: 4.375 kB / 0.8376 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002722/0.2459, allocations: 161.3 kB / 0.8377 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.2459, allocations: 3.938 kB / 0.8377 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.2459, allocations: 4 kB / 0.8377 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.2459, allocations: 0 / 0.8377 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.2461, allocations: 101.7 kB / 0.8378 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004785/0.2466, allocations: 340.6 kB / 0.8381 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.2468, allocations: 142.8 kB / 0.8383 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.247, allocations: 99.48 kB / 0.8384 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.247, allocations: 3.938 kB / 0.8384 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003043/0.2473, allocations: 204.5 kB / 0.8386 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.2473, allocations: 0 / 0.8386 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0006593/0.248, allocations: 406.7 kB / 0.839 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.2481, allocations: 118.8 kB / 0.8391 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.2483, allocations: 211.2 kB / 0.8393 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.2483, allocations: 29.7 kB / 0.8393 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.587e-05/0.2484, allocations: 116.1 kB / 0.8394 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.2485, allocations: 31.73 kB / 0.8394 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.039e-05/0.2485, allocations: 33.67 kB / 0.8395 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001912/0.2487, allocations: 330.8 kB / 0.8398 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.2488, allocations: 93.67 kB / 0.8399 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.249, allocations: 111.4 kB / 0.84 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/0.2492, allocations: 205 kB / 0.8402 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2492, allocations: 0 / 0.8402 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000393/0.2496, allocations: 304.9 kB / 0.8405 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.894e-05/0.2497, allocations: 37.7 kB / 0.8405 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.2497, allocations: 0 / 0.8405 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.2497, allocations: 0 / 0.8405 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.2498, allocations: 19.92 kB / 0.8405 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.2498, allocations: 0 / 0.8405 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.2499, allocations: 15.92 kB / 0.8405 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.2499, allocations: 7.938 kB / 0.8406 GB, free: 0.6367 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.0001958/0.2501, allocations: 180.1 kB / 0.8407 GB, free: 456 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.454e-05/0.2501, allocations: 27.86 kB / 0.8408 GB, free: 428 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002399/0.2504, allocations: 95.16 kB / 0.8408 GB, free: 324 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.2504, allocations: 3.984 kB / 0.8408 GB, free: 320 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2504, allocations: 7.938 kB / 0.8409 GB, free: 312 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2504, allocations: 0 / 0.8409 GB, free: 312 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.2506, allocations: 161.2 kB / 0.841 GB, free: 120 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2506, allocations: 384 / 0.841 GB, free: 120 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.291e-05/0.2506, allocations: 8 kB / 0.841 GB, free: 112 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.2506, allocations: 3.984 kB / 0.841 GB, free: 108 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.2507, allocations: 12 kB / 0.841 GB, free: 96 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2507, allocations: 4 kB / 0.841 GB, free: 92 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.2507, allocations: 4 kB / 0.841 GB, free: 88 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005228/0.2512, allocations: 373.1 kB / 0.8414 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.452e-05/0.2513, allocations: 43.77 kB / 0.8414 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.2513, allocations: 8 kB / 0.8414 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.939e-05/0.2514, allocations: 4 kB / 0.8414 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.926e-05/0.2515, allocations: 7.984 kB / 0.8415 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.2515, allocations: 11.98 kB / 0.8415 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001553/0.2516, allocations: 160.3 kB / 0.8416 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.2516, allocations: 3.938 kB / 0.8416 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002505/0.2519, allocations: 48 kB / 0.8417 GB, free: 15.41 MB / 0.5919 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.0002042/0.2521, allocations: 136.3 kB / 0.8418 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000397/0.2525, allocations: 274.7 kB / 0.8421 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2525, allocations: 4 kB / 0.8421 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.2527, allocations: 165 kB / 0.8422 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.2529, allocations: 19.72 kB / 0.8422 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007172/0.2536, allocations: 411.7 kB / 0.8426 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.2538, allocations: 118.1 kB / 0.8427 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.548e-05/0.2538, allocations: 11.44 kB / 0.8428 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.2538, allocations: 0 / 0.8428 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of Templates: time 0.00438/0.2582, allocations: 1.929 MB / 0.8446 GB, free: 12.26 MB / 0.5919 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: 9.346779892221093] Failed to read output from testmodel.py, exit status != 0: 0.2660205219872296 0.28142930699999996 0.034033381 Calling exit ...