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.0008071/0.0008071, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001027/0.001027, allocations: 212.1 kB / 22.25 MB, free: 3.727 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.9557/0.9557, allocations: 230.6 MB / 256 MB, free: 9.59 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.7821/0.7821, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.001034/0.001034, allocations: 71.39 kB / 0.7182 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5052/0.5063, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002138/0.5084, allocations: 1.613 MB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009274/0.5093, allocations: 0.6392 MB / 0.82 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.196e-05/0.5094, allocations: 0 / 0.82 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.5096, allocations: 73.5 kB / 0.8201 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002541/0.5098, allocations: 109.5 kB / 0.8202 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.5101, allocations: 105.4 kB / 0.8203 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.5103, allocations: 130.6 kB / 0.8204 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.479e-05/0.5104, allocations: 10.59 kB / 0.8204 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000189/0.5106, allocations: 77.75 kB / 0.8205 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.5107, allocations: 109 kB / 0.8206 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.5107, allocations: 5.719 kB / 0.8206 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.5109, allocations: 88.84 kB / 0.8207 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.104e-05/0.5109, allocations: 33.61 kB / 0.8207 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.63e-05/0.511, allocations: 40.02 kB / 0.8207 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002413/0.5112, allocations: 174.8 kB / 0.8209 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.5112, allocations: 3.938 kB / 0.8209 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.214e-06/0.5112, allocations: 0 / 0.8209 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.5112, allocations: 0 / 0.8209 GB, free: 15.21 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.0006112/0.5119, allocations: 424.1 kB / 0.8213 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.5119, allocations: 11 kB / 0.8213 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.544e-05/0.5119, allocations: 34.28 kB / 0.8214 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.5121, allocations: 25.12 kB / 0.8214 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.5124, allocations: 155.8 kB / 0.8215 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.5124, allocations: 1.672 kB / 0.8215 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.5124, allocations: 4.062 kB / 0.8215 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002486/0.5127, allocations: 167 kB / 0.8217 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.5127, allocations: 7.984 kB / 0.8217 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.5127, allocations: 0 / 0.8217 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.5127, allocations: 3.25 kB / 0.8217 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.5128, allocations: 97.41 kB / 0.8218 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006149/0.5134, allocations: 377.2 kB / 0.8222 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.5136, allocations: 132.4 kB / 0.8223 GB, free: 14 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.73e-05/0.5137, allocations: 104.7 kB / 0.8224 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.5137, allocations: 4.516 kB / 0.8224 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002629/0.514, allocations: 202.4 kB / 0.8226 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.514, allocations: 7.938 kB / 0.8226 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0004929/0.5145, allocations: 402.9 kB / 0.823 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.5145, allocations: 108.1 kB / 0.8231 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.5147, allocations: 220.7 kB / 0.8233 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.5147, allocations: 32.08 kB / 0.8233 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.031e-05/0.5148, allocations: 115.7 kB / 0.8234 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.5148, allocations: 31.89 kB / 0.8235 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.464e-05/0.5149, allocations: 27.34 kB / 0.8235 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.323e-05/0.515, allocations: 333.4 kB / 0.8238 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.398e-05/0.515, allocations: 95.62 kB / 0.8239 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.583e-05/0.5151, allocations: 114.8 kB / 0.824 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.5153, allocations: 197 kB / 0.8242 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.5153, allocations: 0 / 0.8242 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002786/0.5156, allocations: 305.5 kB / 0.8245 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.789e-05/0.5156, allocations: 41.06 kB / 0.8245 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.5156, allocations: 0 / 0.8245 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.5156, allocations: 1.891 kB / 0.8245 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.122e-05/0.5157, allocations: 17.03 kB / 0.8245 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.5157, allocations: 2.016 kB / 0.8245 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.188e-05/0.5158, allocations: 5.984 kB / 0.8245 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.5158, allocations: 9.859 kB / 0.8245 GB, free: 12.37 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.000118/0.5159, allocations: 182.5 kB / 0.8247 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.78e-05/0.5159, allocations: 15.59 kB / 0.8247 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001771/0.5161, allocations: 113.6 kB / 0.8248 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.5161, allocations: 3.984 kB / 0.8249 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.5161, allocations: 2.344 kB / 0.8249 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.5161, allocations: 4.5 kB / 0.8249 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.5163, allocations: 190.3 kB / 0.825 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.5163, allocations: 0 / 0.825 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.017e-05/0.5163, allocations: 14.02 kB / 0.8251 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.5163, allocations: 1.188 kB / 0.8251 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.5164, allocations: 8.219 kB / 0.8251 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.5164, allocations: 1.438 kB / 0.8251 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5164, allocations: 1.766 kB / 0.8251 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.5167, allocations: 372.5 kB / 0.8254 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.715e-05/0.5167, allocations: 31.17 kB / 0.8254 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.5168, allocations: 9.172 kB / 0.8255 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.911e-05/0.5168, allocations: 5.953 kB / 0.8255 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/0.5169, allocations: 8.172 kB / 0.8255 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/0.5169, allocations: 10.27 kB / 0.8255 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001099/0.517, allocations: 162 kB / 0.8256 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.517, allocations: 0 / 0.8256 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002096/0.5172, allocations: 50.31 kB / 0.8257 GB, free: 11.59 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.0006053/0.5178, allocations: 0.9238 MB / 0.8266 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002935/0.5181, allocations: 282.8 kB / 0.8269 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5181, allocations: 0 / 0.8269 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.5182, allocations: 168.8 kB / 0.827 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.5184, allocations: 16.42 kB / 0.827 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.5203, allocations: 2.416 MB / 0.8294 GB, free: 8.828 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.848e-05/0.5204, allocations: 110.9 kB / 0.8295 GB, free: 8.75 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.128e-05/0.5205, allocations: 9.641 kB / 0.8295 GB, free: 8.746 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.321e-05/0.5205, allocations: 44.36 kB / 0.8295 GB, free: 8.715 MB / 0.6198 GB Notification: Performance of SimCode: time 7.91e-07/0.5205, allocations: 0 / 0.8295 GB, free: 8.715 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02164/0.5422, allocations: 4.139 MB / 0.8336 GB, free: 7.641 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.465/7.008, allocations: 4.281 kB / 0.8336 GB, free: 7.641 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=50 --tolerance=1e-06 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: 9.894374492112547] Failed to read output from testmodel.py, exit status != 0: 7.087671109940857 7.099461688 6.586111213 Calling exit ...