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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 107.9 kB / 16.4 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 193.2 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.231/1.231, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6531/0.6531, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00108/0.00108, allocations: 64.11 kB / 0.5572 GB, free: 32.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1208, allocations: 76.18 MB / 0.6316 GB, free: 4.922 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002288/0.1231, allocations: 1.583 MB / 0.6331 GB, free: 3.324 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008952/0.124, allocations: 0.6427 MB / 0.6337 GB, free: 2.676 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.931e-05/0.1241, allocations: 0 / 0.6337 GB, free: 2.676 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001295/0.1242, allocations: 83.77 kB / 0.6338 GB, free: 2.594 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002231/0.1245, allocations: 103.7 kB / 0.6339 GB, free: 2.492 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.1248, allocations: 94.39 kB / 0.634 GB, free: 2.402 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001459/0.1249, allocations: 135.7 kB / 0.6341 GB, free: 2.27 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.318e-05/0.125, allocations: 11.98 kB / 0.6342 GB, free: 2.258 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.1251, allocations: 75.73 kB / 0.6342 GB, free: 2.184 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.1253, allocations: 111.7 kB / 0.6343 GB, free: 2.074 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.1253, allocations: 8 kB / 0.6343 GB, free: 2.066 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.1254, allocations: 79.92 kB / 0.6344 GB, free: 1.988 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.368e-05/0.1255, allocations: 27.86 kB / 0.6344 GB, free: 1.961 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 6.225e-05/0.1255, allocations: 63.64 kB / 0.6345 GB, free: 1.898 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.1257, allocations: 166.3 kB / 0.6347 GB, free: 1.738 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1257, allocations: 0 / 0.6347 GB, free: 1.738 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1258, allocations: 0 / 0.6347 GB, free: 1.738 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.1258, allocations: 0 / 0.6347 GB, free: 1.738 MB / 478.1 MB 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.0005892/0.1264, allocations: 477.2 kB / 0.6351 GB, free: 1.219 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.852e-05/0.1264, allocations: 8.031 kB / 0.6351 GB, free: 1.211 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.069e-05/0.1264, allocations: 38.75 kB / 0.6352 GB, free: 1.164 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.1265, allocations: 20.73 kB / 0.6352 GB, free: 1.145 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.1267, allocations: 219.9 kB / 0.6354 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.1267, allocations: 4.375 kB / 0.6354 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.1267, allocations: 4.375 kB / 0.6354 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.1269, allocations: 123.5 kB / 0.6355 GB, free: 0.75 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1269, allocations: 3.938 kB / 0.6355 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.1269, allocations: 4 kB / 0.6355 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.1269, allocations: 0 / 0.6355 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.127, allocations: 71.95 kB / 0.6356 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003638/0.1274, allocations: 404.8 kB / 0.636 GB, free: 228 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.1276, allocations: 117.1 kB / 0.6361 GB, free: 92 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.929e-05/0.1277, allocations: 81.83 kB / 0.6362 GB, free: 4 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.1277, allocations: 4 kB / 0.6362 GB, free: 0 / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002121/0.1279, allocations: 182.7 kB / 0.6363 GB, free: 15.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.1279, allocations: 0 / 0.6363 GB, free: 15.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004379/0.1284, allocations: 339.1 kB / 0.6367 GB, free: 15.45 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.1284, allocations: 106.8 kB / 0.6368 GB, free: 15.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.1286, allocations: 218.3 kB / 0.637 GB, free: 15.09 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.1286, allocations: 29.7 kB / 0.637 GB, free: 15.06 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.824e-05/0.1287, allocations: 112.1 kB / 0.6371 GB, free: 14.95 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.1287, allocations: 43.45 kB / 0.6372 GB, free: 14.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.77e-05/0.1288, allocations: 25.7 kB / 0.6372 GB, free: 14.87 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.268e-05/0.1289, allocations: 334.8 kB / 0.6375 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.692e-05/0.129, allocations: 55.97 kB / 0.6376 GB, free: 14.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.651e-05/0.1291, allocations: 85.62 kB / 0.6376 GB, free: 14.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.1292, allocations: 197 kB / 0.6378 GB, free: 14.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1293, allocations: 0 / 0.6378 GB, free: 14.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002795/0.1295, allocations: 263.1 kB / 0.6381 GB, free: 13.91 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.926e-05/0.1296, allocations: 37.69 kB / 0.6381 GB, free: 13.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1296, allocations: 4 kB / 0.6381 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.1296, allocations: 0 / 0.6381 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.841e-05/0.1297, allocations: 11.98 kB / 0.6381 GB, free: 13.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.1297, allocations: 4 kB / 0.6381 GB, free: 13.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.123e-05/0.1298, allocations: 7.906 kB / 0.6381 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.1298, allocations: 8 kB / 0.6381 GB, free: 13.83 MB / 494.1 MB 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.0001227/0.13, allocations: 188 kB / 0.6383 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.13, allocations: 15.81 kB / 0.6383 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001764/0.1302, allocations: 99.14 kB / 0.6384 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.1302, allocations: 0 / 0.6384 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1302, allocations: 4 kB / 0.6384 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.1302, allocations: 0 / 0.6384 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.1304, allocations: 241.8 kB / 0.6387 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1304, allocations: 0 / 0.6387 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.399e-05/0.1304, allocations: 19.94 kB / 0.6387 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1304, allocations: 0 / 0.6387 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.1305, allocations: 7.984 kB / 0.6387 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1305, allocations: 3.938 kB / 0.6387 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1305, allocations: 0 / 0.6387 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003512/0.1308, allocations: 335.4 kB / 0.639 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.952e-05/0.1309, allocations: 109 kB / 0.6391 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/0.1309, allocations: 8 kB / 0.6391 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.401e-05/0.131, allocations: 11.92 kB / 0.6391 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.1311, allocations: 15.92 kB / 0.6392 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.1311, allocations: 8 kB / 0.6392 GB, free: 12.67 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.1312, allocations: 160.5 kB / 0.6393 GB, free: 12.51 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1313, allocations: 0 / 0.6393 GB, free: 12.51 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002338/0.1315, allocations: 39.94 kB / 0.6394 GB, free: 12.47 MB / 494.1 MB 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.00061/0.1321, allocations: 0.8978 MB / 0.6402 GB, free: 11.54 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002767/0.1324, allocations: 239.3 kB / 0.6405 GB, free: 11.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1324, allocations: 0 / 0.6405 GB, free: 11.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.1326, allocations: 171.3 kB / 0.6406 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/0.1328, allocations: 16 kB / 0.6406 GB, free: 11.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.1347, allocations: 2.234 MB / 0.6428 GB, free: 8.754 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.135, allocations: 0.7275 MB / 0.6435 GB, free: 8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.629e-05/0.135, allocations: 11.92 kB / 0.6435 GB, free: 7.988 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.54e-05/0.1351, allocations: 43.42 kB / 0.6436 GB, free: 7.945 MB / 494.1 MB Notification: Performance of SimCode: time 3e-07/0.1351, allocations: 0 / 0.6436 GB, free: 7.945 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01865/0.1537, allocations: 3.585 MB / 0.6471 GB, free: 4.512 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.702/6.855, allocations: 4.938 kB / 0.6471 GB, free: 4.508 MB / 494.1 MB (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 --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)