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.0009521/0.0009521, allocations: 72.5 kB / 19.92 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.001062/0.001062, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8779/0.8779, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.5822/0.5822, allocations: 114 MB / 373.9 MB, free: 8.695 MB / 346.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 4 kB / 0.5542 GB, free: 1.734 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.624e-05/1.885e-05, allocations: 8.797 kB / 0.5542 GB, free: 1.727 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001973/0.001992, allocations: 1.596 MB / 0.5557 GB, free: 124 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008301/0.002822, allocations: 0.6387 MB / 0.5564 GB, free: 15.48 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.79e-05/0.00288, allocations: 0 / 0.5564 GB, free: 15.48 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00014/0.00302, allocations: 83.69 kB / 0.5564 GB, free: 15.39 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002231/0.003243, allocations: 103.6 kB / 0.5565 GB, free: 15.29 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002788/0.003522, allocations: 107.7 kB / 0.5566 GB, free: 15.19 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.003669, allocations: 131.7 kB / 0.5568 GB, free: 15.06 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.519e-05/0.003754, allocations: 19.84 kB / 0.5568 GB, free: 15.04 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001787/0.003933, allocations: 91.84 kB / 0.5569 GB, free: 14.95 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.004063, allocations: 111.8 kB / 0.557 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.004082, allocations: 8 kB / 0.557 GB, free: 14.83 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.004193, allocations: 91.8 kB / 0.5571 GB, free: 14.74 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.426e-05/0.004247, allocations: 31.91 kB / 0.5571 GB, free: 14.71 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.99e-05/0.004297, allocations: 39.84 kB / 0.5571 GB, free: 14.67 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.004502, allocations: 191.4 kB / 0.5573 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.004506, allocations: 7.984 kB / 0.5573 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.004507, allocations: 0 / 0.5573 GB, free: 14.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.004511, allocations: 0 / 0.5573 GB, free: 14.48 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005269/0.005038, allocations: 415 kB / 0.5577 GB, free: 14.04 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.005077, allocations: 12.62 kB / 0.5577 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.983e-05/0.005106, allocations: 34.75 kB / 0.5578 GB, free: 13.98 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.005216, allocations: 24.83 kB / 0.5578 GB, free: 13.96 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.005409, allocations: 153.5 kB / 0.5579 GB, free: 13.78 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.005423, allocations: 8.359 kB / 0.5579 GB, free: 13.77 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.005436, allocations: 8.312 kB / 0.558 GB, free: 13.77 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.005618, allocations: 153.6 kB / 0.5581 GB, free: 13.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.005625, allocations: 4.125 kB / 0.5581 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.005637, allocations: 4.125 kB / 0.5581 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.005641, allocations: 4 kB / 0.5581 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.005751, allocations: 113.6 kB / 0.5582 GB, free: 13.47 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003868/0.006138, allocations: 372 kB / 0.5586 GB, free: 13.06 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.006293, allocations: 146.7 kB / 0.5587 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.932e-05/0.006373, allocations: 107.5 kB / 0.5588 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.00639, allocations: 0 / 0.5588 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001956/0.006586, allocations: 208.4 kB / 0.559 GB, free: 12.54 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.006587, allocations: 0 / 0.559 GB, free: 12.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006413/0.007228, allocations: 418.7 kB / 0.5594 GB, free: 12.11 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.007281, allocations: 114.8 kB / 0.5595 GB, free: 11.97 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.007415, allocations: 217.2 kB / 0.5597 GB, free: 11.75 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.007429, allocations: 25.7 kB / 0.5598 GB, free: 11.71 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.246e-05/0.007481, allocations: 116.4 kB / 0.5599 GB, free: 11.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.007512, allocations: 35.69 kB / 0.5599 GB, free: 11.56 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.674e-05/0.007558, allocations: 29.72 kB / 0.5599 GB, free: 11.52 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.281e-05/0.007651, allocations: 334.8 kB / 0.5603 GB, free: 11.19 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.844e-05/0.00773, allocations: 93.67 kB / 0.5603 GB, free: 11.09 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.998e-05/0.00781, allocations: 111.4 kB / 0.5604 GB, free: 10.97 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.007955, allocations: 201.3 kB / 0.5606 GB, free: 10.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.007958, allocations: 8.188 kB / 0.5606 GB, free: 10.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002455/0.008203, allocations: 324.8 kB / 0.561 GB, free: 10.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/0.008234, allocations: 37.69 kB / 0.561 GB, free: 10.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.008239, allocations: 7.938 kB / 0.561 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.008252, allocations: 4 kB / 0.561 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.05e-05/0.008323, allocations: 15.92 kB / 0.561 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.008328, allocations: 4 kB / 0.561 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.203e-05/0.00839, allocations: 11.94 kB / 0.561 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.008401, allocations: 4 kB / 0.561 GB, free: 10.32 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 (decAng.k,$PRE.decAng.k,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 (12): * Single equations (assignments): 11 * 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.0001057/0.008507, allocations: 187.5 kB / 0.5612 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.008525, allocations: 15.91 kB / 0.5612 GB, free: 10.11 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001596/0.008685, allocations: 107 kB / 0.5613 GB, free: 10 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.008689, allocations: 4 kB / 0.5613 GB, free: 9.996 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.008693, allocations: 0 / 0.5613 GB, free: 9.996 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.008697, allocations: 3.938 kB / 0.5613 GB, free: 9.992 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.008824, allocations: 192.6 kB / 0.5615 GB, free: 9.762 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.008825, allocations: 0 / 0.5615 GB, free: 9.762 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.212e-05/0.008857, allocations: 11.98 kB / 0.5615 GB, free: 9.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.008859, allocations: 4 kB / 0.5615 GB, free: 9.746 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.709e-06/0.008869, allocations: 4 kB / 0.5615 GB, free: 9.742 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.008872, allocations: 4 kB / 0.5615 GB, free: 9.738 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.008873, allocations: 0 / 0.5615 GB, free: 9.738 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002761/0.009149, allocations: 377 kB / 0.5619 GB, free: 9.336 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.17e-05/0.0092, allocations: 31.84 kB / 0.5619 GB, free: 9.305 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.009223, allocations: 8 kB / 0.5619 GB, free: 9.297 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.995e-05/0.009273, allocations: 7.984 kB / 0.562 GB, free: 9.289 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.009316, allocations: 11.98 kB / 0.562 GB, free: 9.277 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.009331, allocations: 4 kB / 0.562 GB, free: 9.273 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.788e-05/0.009418, allocations: 164.2 kB / 0.5621 GB, free: 9.113 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009419, allocations: 4 kB / 0.5621 GB, free: 9.109 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001801/0.009599, allocations: 43.94 kB / 0.5622 GB, free: 9.066 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,decAng.tNext,decAng.k,$whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 8 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1,decAng.k,decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0005356/0.01013, allocations: 0.9414 MB / 0.5631 GB, free: 8.082 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002476/0.01038, allocations: 286.7 kB / 0.5634 GB, free: 7.777 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01038, allocations: 0 / 0.5634 GB, free: 7.777 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.0105, allocations: 173 kB / 0.5635 GB, free: 7.59 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001736/0.01067, allocations: 13.38 kB / 0.5635 GB, free: 7.578 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.01242, allocations: 2.456 MB / 0.5659 GB, free: 4.992 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.094e-05/0.0125, allocations: 110.2 kB / 0.566 GB, free: 4.863 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.807e-05/0.01254, allocations: 8.672 kB / 0.5661 GB, free: 4.852 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.625e-05/0.0126, allocations: 48.42 kB / 0.5661 GB, free: 4.805 MB / 490.7 MB Notification: Performance of SimCode: time 7.11e-07/0.0126, allocations: 4 kB / 0.5661 GB, free: 4.801 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01748/0.03008, allocations: 4.319 MB / 0.5703 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.826/6.856, allocations: 0.9375 kB / 0.5703 GB, free: 0.6953 MB / 490.7 MB " [Timeout remaining time 653] (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 sys.exit(0), Time elapsed: 9.238823156803846] Failed to read output from testmodel.py, exit status != 0: 6.938124926760793 6.953067281 6.945854952 Calling exit ...