Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.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.001573/0.001573, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001772/0.001772, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.483/1.483, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.945/2.945, allocations: 0.49 GB / 0.7923 GB, free: 1.312 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.001959/0.001959, allocations: 67.89 kB / 1.15 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8399/0.8419, allocations: 176.1 MB / 1.321 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002591/0.8445, allocations: 1.636 MB / 1.323 GB, free: 23.59 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.8455, allocations: 0.6832 MB / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.039e-05/0.8456, allocations: 0 / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001484/0.8458, allocations: 77.78 kB / 1.324 GB, free: 23.11 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002717/0.846, allocations: 115.2 kB / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.8464, allocations: 100.2 kB / 1.324 GB, free: 23.03 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000158/0.8465, allocations: 128 kB / 1.324 GB, free: 22.98 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.385e-05/0.8466, allocations: 10.08 kB / 1.324 GB, free: 22.98 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001846/0.8468, allocations: 70.41 kB / 1.324 GB, free: 22.96 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.847, allocations: 117.5 kB / 1.324 GB, free: 22.94 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.847, allocations: 9.609 kB / 1.324 GB, free: 22.93 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.8471, allocations: 95.64 kB / 1.324 GB, free: 22.9 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.667e-05/0.8472, allocations: 27.78 kB / 1.324 GB, free: 22.89 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.821e-05/0.8472, allocations: 56.52 kB / 1.324 GB, free: 22.86 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.8474, allocations: 179.5 kB / 1.325 GB, free: 22.79 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.8474, allocations: 0 / 1.325 GB, free: 22.79 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8474, allocations: 0 / 1.325 GB, free: 22.79 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.8475, allocations: 0 / 1.325 GB, free: 22.79 MB / 1.061 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.0006743/0.8481, allocations: 492.1 kB / 1.325 GB, free: 22.32 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.8482, allocations: 15.48 kB / 1.325 GB, free: 22.31 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.186e-05/0.8482, allocations: 4.188 kB / 1.325 GB, free: 22.31 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.624e-05/0.8482, allocations: 41.81 kB / 1.325 GB, free: 22.26 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.8484, allocations: 23.69 kB / 1.325 GB, free: 22.25 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.8486, allocations: 206 kB / 1.325 GB, free: 22.04 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.8486, allocations: 3.406 kB / 1.325 GB, free: 22.04 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.8486, allocations: 3.344 kB / 1.325 GB, free: 22.04 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.8488, allocations: 127.6 kB / 1.326 GB, free: 21.96 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.8488, allocations: 7.984 kB / 1.326 GB, free: 21.96 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.8489, allocations: 3.031 kB / 1.326 GB, free: 21.96 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.8489, allocations: 3.938 kB / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.849, allocations: 72.48 kB / 1.326 GB, free: 21.94 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000387/0.8494, allocations: 408.4 kB / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.8495, allocations: 109.4 kB / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.762e-05/0.8496, allocations: 68.95 kB / 1.326 GB, free: 21.45 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.8496, allocations: 2.844 kB / 1.326 GB, free: 21.45 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002198/0.8498, allocations: 174.2 kB / 1.326 GB, free: 21.33 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.8498, allocations: 4 kB / 1.326 GB, free: 21.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0005456/0.8504, allocations: 340.8 kB / 1.327 GB, free: 21.19 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.417e-05/0.8504, allocations: 106.7 kB / 1.327 GB, free: 21.06 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.8507, allocations: 215.1 kB / 1.327 GB, free: 20.93 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.8507, allocations: 26.95 kB / 1.327 GB, free: 20.89 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.184e-05/0.8508, allocations: 123.3 kB / 1.327 GB, free: 20.79 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/0.8508, allocations: 28.59 kB / 1.327 GB, free: 20.76 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.341e-05/0.8509, allocations: 27.62 kB / 1.327 GB, free: 20.74 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.487e-05/0.8509, allocations: 338.7 kB / 1.328 GB, free: 20.41 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.8511, allocations: 61.95 kB / 1.328 GB, free: 20.4 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.8512, allocations: 74.69 kB / 1.328 GB, free: 20.37 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.8514, allocations: 200.8 kB / 1.328 GB, free: 20.24 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.8514, allocations: 1.062 kB / 1.328 GB, free: 20.24 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003757/0.8518, allocations: 271.4 kB / 1.328 GB, free: 20.12 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.745e-05/0.8518, allocations: 36.97 kB / 1.328 GB, free: 20.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.8518, allocations: 0 / 1.328 GB, free: 20.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.8518, allocations: 5.156 kB / 1.328 GB, free: 20.09 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.8519, allocations: 11.16 kB / 1.328 GB, free: 20.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.8519, allocations: 3.906 kB / 1.328 GB, free: 20.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.8521, allocations: 13.55 kB / 1.328 GB, free: 20.08 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.8521, allocations: 4.625 kB / 1.328 GB, free: 20.08 MB / 1.061 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.0001234/0.8522, allocations: 184.2 kB / 1.328 GB, free: 19.92 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.8522, allocations: 20.91 kB / 1.328 GB, free: 19.91 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002095/0.8524, allocations: 98.22 kB / 1.328 GB, free: 19.85 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.8524, allocations: 1.375 kB / 1.328 GB, free: 19.85 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.8525, allocations: 4.609 kB / 1.328 GB, free: 19.84 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.8525, allocations: 1.406 kB / 1.328 GB, free: 19.84 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.8526, allocations: 243 kB / 1.329 GB, free: 19.62 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.8526, allocations: 0 / 1.329 GB, free: 19.62 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.991e-05/0.8527, allocations: 12.31 kB / 1.329 GB, free: 19.61 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.8527, allocations: 0.9375 kB / 1.329 GB, free: 19.61 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.8527, allocations: 14.52 kB / 1.329 GB, free: 19.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.8527, allocations: 0.8125 kB / 1.329 GB, free: 19.61 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.8527, allocations: 4.594 kB / 1.329 GB, free: 19.6 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004402/0.8532, allocations: 335.6 kB / 1.329 GB, free: 19.43 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.06e-05/0.8532, allocations: 101.8 kB / 1.329 GB, free: 19.32 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/0.8533, allocations: 6.719 kB / 1.329 GB, free: 19.32 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.423e-05/0.8534, allocations: 9 kB / 1.329 GB, free: 19.32 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.907e-05/0.8534, allocations: 15.45 kB / 1.329 GB, free: 19.31 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.8534, allocations: 5.344 kB / 1.329 GB, free: 19.31 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001377/0.8536, allocations: 172.2 kB / 1.329 GB, free: 19.21 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8536, allocations: 0 / 1.329 GB, free: 19.21 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002782/0.8539, allocations: 46.44 kB / 1.329 GB, free: 19.2 MB / 1.061 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.0007125/0.8546, allocations: 0.8997 MB / 1.33 GB, free: 18.49 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000347/0.8549, allocations: 212 kB / 1.33 GB, free: 18.39 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.8549, allocations: 192 / 1.33 GB, free: 18.39 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.8551, allocations: 134.8 kB / 1.331 GB, free: 18.31 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.8553, allocations: 13.81 kB / 1.331 GB, free: 18.3 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002255/0.8576, allocations: 2.244 MB / 1.333 GB, free: 16.77 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001551/0.8577, allocations: 0.7248 MB / 1.334 GB, free: 16.07 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.434e-05/0.8578, allocations: 6.906 kB / 1.334 GB, free: 16.07 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.284e-05/0.8578, allocations: 43.38 kB / 1.334 GB, free: 16.04 MB / 1.061 GB Notification: Performance of SimCode: time 1.062e-06/0.8578, allocations: 0 / 1.334 GB, free: 16.04 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02274/0.8806, allocations: 3.589 MB / 1.337 GB, free: 15.48 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.451/9.332, allocations: 14.95 kB / 1.337 GB, free: 15.47 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.621227534022182] Failed to read output from testmodel.py, exit status != 0: 9.458537424972747 9.480425831 8.628743295 Calling exit ...