Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001185/0.001185, allocations: 105.5 kB / 18.95 MB, free: 1.191 MB / 13.93 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.001073/0.001073, allocations: 212 kB / 22.24 MB, free: 3.59 MB / 13.93 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.9729/0.9729, allocations: 230.6 MB / 256 MB, free: 9.621 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7736/0.7736, allocations: 203.8 MB / 0.5042 GB, free: 10.5 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001345/0.001345, allocations: 66.55 kB / 0.7182 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5112/0.5126, allocations: 102 MB / 0.8178 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001904/0.5145, allocations: 1.632 MB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008087/0.5153, allocations: 0.6325 MB / 0.82 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.025e-05/0.5154, allocations: 2.125 kB / 0.82 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.5155, allocations: 72.64 kB / 0.8201 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002385/0.5158, allocations: 107.6 kB / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.516, allocations: 105.7 kB / 0.8203 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.5162, allocations: 126.8 kB / 0.8204 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.435e-05/0.5163, allocations: 13.52 kB / 0.8204 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.5165, allocations: 76.69 kB / 0.8205 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.5166, allocations: 113.6 kB / 0.8206 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.5166, allocations: 6.938 kB / 0.8206 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.5167, allocations: 88.83 kB / 0.8207 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.78e-05/0.5168, allocations: 31.3 kB / 0.8207 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.349e-05/0.5168, allocations: 41.62 kB / 0.8207 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.5171, allocations: 175 kB / 0.8209 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.5171, allocations: 4.609 kB / 0.8209 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.512e-06/0.5171, allocations: 0 / 0.8209 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.5171, allocations: 0 / 0.8209 GB, free: 15.23 MB / 0.6198 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.0005569/0.5176, allocations: 414.3 kB / 0.8213 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.5177, allocations: 10.75 kB / 0.8213 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.115e-05/0.5177, allocations: 36.94 kB / 0.8214 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.5178, allocations: 25.66 kB / 0.8214 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.518, allocations: 164.1 kB / 0.8215 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.518, allocations: 2.781 kB / 0.8215 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.5181, allocations: 4.156 kB / 0.8215 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.5183, allocations: 161.1 kB / 0.8217 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.5183, allocations: 0 / 0.8217 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.5183, allocations: 2.031 kB / 0.8217 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.5183, allocations: 1.344 kB / 0.8217 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.5184, allocations: 103.1 kB / 0.8218 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000377/0.5188, allocations: 366.8 kB / 0.8221 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.519, allocations: 141 kB / 0.8223 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.209e-05/0.5191, allocations: 100.7 kB / 0.8224 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.5191, allocations: 2.859 kB / 0.8224 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002279/0.5193, allocations: 204.9 kB / 0.8226 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.022e-06/0.5193, allocations: 0 / 0.8226 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.000443/0.5198, allocations: 409.1 kB / 0.823 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.5198, allocations: 105.8 kB / 0.8231 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.5199, allocations: 225.7 kB / 0.8233 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.52, allocations: 31.02 kB / 0.8233 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/0.52, allocations: 113.2 kB / 0.8234 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.52, allocations: 34.14 kB / 0.8234 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.072e-05/0.5201, allocations: 27.33 kB / 0.8235 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.611e-05/0.5202, allocations: 333.9 kB / 0.8238 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.757e-05/0.5202, allocations: 91.06 kB / 0.8239 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.064e-05/0.5203, allocations: 110.1 kB / 0.824 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.5205, allocations: 199.6 kB / 0.8242 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.5205, allocations: 0 / 0.8242 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002536/0.5207, allocations: 310.9 kB / 0.8245 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.5208, allocations: 38.92 kB / 0.8245 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.5208, allocations: 5.875 kB / 0.8245 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.5208, allocations: 5.281 kB / 0.8245 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.611e-05/0.5209, allocations: 12.62 kB / 0.8245 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.5209, allocations: 2.172 kB / 0.8245 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.107e-05/0.5209, allocations: 7.344 kB / 0.8245 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.5209, allocations: 4.375 kB / 0.8245 GB, free: 12.39 MB / 0.6198 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.0004236/0.5214, allocations: 184.8 kB / 0.8247 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.5214, allocations: 17.62 kB / 0.8247 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001738/0.5216, allocations: 112 kB / 0.8248 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.5216, allocations: 1.25 kB / 0.8248 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5216, allocations: 1.156 kB / 0.8248 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.5216, allocations: 2.062 kB / 0.8248 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.5217, allocations: 188.8 kB / 0.825 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.5217, allocations: 1.797 kB / 0.825 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.002e-05/0.5218, allocations: 14.16 kB / 0.825 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5218, allocations: 0 / 0.825 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.5218, allocations: 9.125 kB / 0.8251 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.5218, allocations: 1.375 kB / 0.8251 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5218, allocations: 4.641 kB / 0.8251 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003046/0.5221, allocations: 372.9 kB / 0.8254 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.988e-05/0.5221, allocations: 31.09 kB / 0.8254 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.5222, allocations: 4.422 kB / 0.8254 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.347e-05/0.5222, allocations: 10.64 kB / 0.8255 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.5223, allocations: 8.391 kB / 0.8255 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.5223, allocations: 7.703 kB / 0.8255 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001006/0.5224, allocations: 158.4 kB / 0.8256 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5224, allocations: 0 / 0.8256 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001719/0.5226, allocations: 51.48 kB / 0.8257 GB, free: 11.62 MB / 0.6198 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.0005383/0.5231, allocations: 0.9351 MB / 0.8266 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002772/0.5234, allocations: 283.4 kB / 0.8269 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5234, allocations: 0 / 0.8269 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.5235, allocations: 169.1 kB / 0.827 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001583/0.5236, allocations: 19.22 kB / 0.827 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.5255, allocations: 2.41 MB / 0.8294 GB, free: 8.852 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.369e-05/0.5256, allocations: 116.7 kB / 0.8295 GB, free: 8.77 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.619e-05/0.5256, allocations: 13.33 kB / 0.8295 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.925e-05/0.5257, allocations: 39.59 kB / 0.8296 GB, free: 8.734 MB / 0.6198 GB Notification: Performance of SimCode: time 3.91e-07/0.5257, allocations: 1.188 kB / 0.8296 GB, free: 8.734 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0172/0.5429, allocations: 4.134 MB / 0.8336 GB, free: 7.664 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.621/7.164, allocations: 12.53 kB / 0.8336 GB, free: 7.66 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.19363403134048] Failed to read output from testmodel.py, exit status != 0: 7.242393634747714 7.256607097 6.73733491 Calling exit ...