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.0007739/0.0007739, 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.0009646/0.0009646, 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.8714/0.8714, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.5954/0.5954, 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 1.613e-06/1.613e-06, allocations: 0 / 0.5542 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.316e-05, allocations: 6.281 kB / 0.5542 GB, free: 2.789 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002406/0.002429, allocations: 1.611 MB / 0.5557 GB, free: 1.176 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001016/0.003445, allocations: 0.6387 MB / 0.5564 GB, free: 0.5312 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.124e-05/0.003526, allocations: 0 / 0.5564 GB, free: 0.5312 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001563/0.003682, allocations: 75.77 kB / 0.5564 GB, free: 468 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002754/0.003958, allocations: 103.5 kB / 0.5565 GB, free: 364 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003857/0.004344, allocations: 112.6 kB / 0.5566 GB, free: 252 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.00455, allocations: 135.6 kB / 0.5568 GB, free: 116 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.244e-05/0.004642, allocations: 7.938 kB / 0.5568 GB, free: 108 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.004864, allocations: 95.78 kB / 0.5569 GB, free: 12 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.005037, allocations: 111.8 kB / 0.557 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.00506, allocations: 8 kB / 0.557 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.005199, allocations: 87.86 kB / 0.5571 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 6.209e-05/0.005261, allocations: 39.84 kB / 0.5571 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.463e-05/0.005316, allocations: 27.92 kB / 0.5571 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.00556, allocations: 195.4 kB / 0.5573 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.005565, allocations: 4 kB / 0.5573 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.053e-06/0.005567, allocations: 0 / 0.5573 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.005571, allocations: 0 / 0.5573 GB, free: 15.55 MB / 0.5261 GB 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.0007111/0.006282, allocations: 415 kB / 0.5577 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.006331, allocations: 12.03 kB / 0.5577 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.356e-05/0.006375, allocations: 30.75 kB / 0.5578 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.00653, allocations: 28.78 kB / 0.5578 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.006778, allocations: 165.5 kB / 0.558 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.006794, allocations: 384 / 0.558 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.006809, allocations: 12.38 kB / 0.558 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.007025, allocations: 156.6 kB / 0.5581 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.007034, allocations: 192 / 0.5581 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.00705, allocations: 8.125 kB / 0.5581 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.007055, allocations: 3.938 kB / 0.5581 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.007168, allocations: 105.6 kB / 0.5582 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004899/0.007658, allocations: 380 kB / 0.5586 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.007849, allocations: 154.7 kB / 0.5587 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.149e-05/0.00793, allocations: 103.5 kB / 0.5588 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.007952, allocations: 0 / 0.5588 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005229/0.008475, allocations: 216.4 kB / 0.559 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 1.694e-06/0.008477, allocations: 0 / 0.559 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14): time 0.0004618/0.008938, allocations: 402.5 kB / 0.5594 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.45e-05/0.009003, allocations: 110.8 kB / 0.5595 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.009163, allocations: 217.1 kB / 0.5597 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.009181, allocations: 29.7 kB / 0.5598 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.89e-05/0.00925, allocations: 120.4 kB / 0.5599 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.316e-05/0.009293, allocations: 35.88 kB / 0.5599 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.373e-05/0.009347, allocations: 33.7 kB / 0.5599 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.009451, allocations: 330.8 kB / 0.5603 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.685e-05/0.009538, allocations: 97.67 kB / 0.5604 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.934e-05/0.009628, allocations: 115.4 kB / 0.5605 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.009796, allocations: 200.9 kB / 0.5607 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.009802, allocations: 3.938 kB / 0.5607 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003422/0.01014, allocations: 320.8 kB / 0.561 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.151e-05/0.0102, allocations: 37.7 kB / 0.561 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.0102, allocations: 256 / 0.561 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.01023, allocations: 8 kB / 0.561 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.47e-05/0.01031, allocations: 15.98 kB / 0.561 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.01032, allocations: 8.25 kB / 0.561 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.724e-05/0.01039, allocations: 7.938 kB / 0.561 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.0104, allocations: 7.984 kB / 0.561 GB, free: 11.38 MB / 0.5261 GB 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.0001224/0.01052, allocations: 191.3 kB / 0.5612 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.01054, allocations: 19.86 kB / 0.5612 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000176/0.01072, allocations: 103.1 kB / 0.5613 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.01072, allocations: 8 kB / 0.5614 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.01073, allocations: 3.984 kB / 0.5614 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.01073, allocations: 0 / 0.5614 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.01088, allocations: 192.6 kB / 0.5615 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.01088, allocations: 0 / 0.5615 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.788e-05/0.01092, allocations: 11.94 kB / 0.5616 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.666e-06/0.01092, allocations: 0 / 0.5616 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.01093, allocations: 8.094 kB / 0.5616 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.01094, allocations: 4 kB / 0.5616 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.01094, allocations: 0 / 0.5616 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003146/0.01125, allocations: 381 kB / 0.5619 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.755e-05/0.01131, allocations: 31.89 kB / 0.562 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.01134, allocations: 4 kB / 0.562 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.533e-05/0.01139, allocations: 7.984 kB / 0.562 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/0.01145, allocations: 15.92 kB / 0.562 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.01146, allocations: 4 kB / 0.562 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000102/0.01157, allocations: 164.2 kB / 0.5621 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.01157, allocations: 0 / 0.5621 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002148/0.01178, allocations: 47.94 kB / 0.5622 GB, free: 10.11 MB / 0.5261 GB 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.0007746/0.01255, allocations: 0.942 MB / 0.5631 GB, free: 9.125 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003241/0.01288, allocations: 278.7 kB / 0.5634 GB, free: 8.828 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.01288, allocations: 0 / 0.5634 GB, free: 8.828 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.01301, allocations: 169 kB / 0.5635 GB, free: 8.645 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.01324, allocations: 22.73 kB / 0.5636 GB, free: 8.625 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/0.0156, allocations: 2.446 MB / 0.5659 GB, free: 6.047 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.024e-05/0.01568, allocations: 118.2 kB / 0.5661 GB, free: 5.91 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.85e-05/0.01572, allocations: 4.734 kB / 0.5661 GB, free: 5.902 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.927e-05/0.01578, allocations: 48.61 kB / 0.5661 GB, free: 5.855 MB / 0.5261 GB Notification: Performance of SimCode: time 8.62e-07/0.01578, allocations: 0 / 0.5661 GB, free: 5.855 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0212/0.03698, allocations: 4.3 MB / 0.5703 GB, free: 1.762 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.997/7.034, allocations: 13.44 kB / 0.5703 GB, free: 1.754 MB / 0.5261 GB " [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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 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.701765703037381] Failed to read output from testmodel.py, exit status != 0: 7.11715333070606 7.128074058 7.119655702 Calling exit ...