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.00108/0.00108, allocations: 109.8 kB / 16.41 MB, free: 6.5 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.001105/0.001105, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.242/1.242, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7035/0.7035, allocations: 122.9 MB / 414.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 68.06 kB / 0.5679 GB, free: 28.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1173, allocations: 77.93 MB / 0.644 GB, free: 9.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.00246/0.1198, allocations: 1.589 MB / 0.6456 GB, free: 7.941 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009675/0.1208, allocations: 0.6398 MB / 0.6462 GB, free: 7.297 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.17e-05/0.1209, allocations: 4 kB / 0.6462 GB, free: 7.293 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001323/0.121, allocations: 79.77 kB / 0.6463 GB, free: 7.215 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002466/0.1213, allocations: 107.7 kB / 0.6464 GB, free: 7.109 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.1216, allocations: 99.77 kB / 0.6465 GB, free: 7.012 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.1217, allocations: 139.6 kB / 0.6466 GB, free: 6.875 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.522e-05/0.1218, allocations: 7.984 kB / 0.6466 GB, free: 6.867 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.122, allocations: 67.86 kB / 0.6467 GB, free: 6.801 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.1221, allocations: 103.8 kB / 0.6468 GB, free: 6.699 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.1221, allocations: 8 kB / 0.6468 GB, free: 6.691 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.1223, allocations: 79.88 kB / 0.6469 GB, free: 6.613 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.031e-05/0.1223, allocations: 43.83 kB / 0.6469 GB, free: 6.57 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.227e-05/0.1224, allocations: 47.67 kB / 0.647 GB, free: 6.523 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.1226, allocations: 171.5 kB / 0.6471 GB, free: 6.355 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.1226, allocations: 4 kB / 0.6471 GB, free: 6.352 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1227, allocations: 0 / 0.6471 GB, free: 6.352 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1227, allocations: 0 / 0.6471 GB, free: 6.352 MB / 494.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.0006307/0.1233, allocations: 488.2 kB / 0.6476 GB, free: 5.82 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.1233, allocations: 12.62 kB / 0.6476 GB, free: 5.809 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.711e-05/0.1234, allocations: 38.75 kB / 0.6477 GB, free: 5.762 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/0.1234, allocations: 16.84 kB / 0.6477 GB, free: 5.746 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.1237, allocations: 216 kB / 0.6479 GB, free: 5.496 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.1237, allocations: 384 / 0.6479 GB, free: 5.496 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.1237, allocations: 4.375 kB / 0.6479 GB, free: 5.492 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.1239, allocations: 130.1 kB / 0.648 GB, free: 5.355 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1239, allocations: 0 / 0.648 GB, free: 5.355 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.1239, allocations: 4 kB / 0.648 GB, free: 5.352 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1239, allocations: 8 kB / 0.648 GB, free: 5.344 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.1241, allocations: 71.91 kB / 0.6481 GB, free: 5.273 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003913/0.1245, allocations: 404.9 kB / 0.6485 GB, free: 4.824 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.1246, allocations: 117.1 kB / 0.6486 GB, free: 4.691 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.675e-05/0.1247, allocations: 89.72 kB / 0.6487 GB, free: 4.598 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.1248, allocations: 0 / 0.6487 GB, free: 4.598 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002196/0.125, allocations: 178.8 kB / 0.6488 GB, free: 4.398 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.125, allocations: 0 / 0.6488 GB, free: 4.398 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.000475/0.1255, allocations: 335.1 kB / 0.6492 GB, free: 4.059 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.1255, allocations: 114.8 kB / 0.6493 GB, free: 3.922 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.1257, allocations: 214.3 kB / 0.6495 GB, free: 3.695 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.1258, allocations: 29.7 kB / 0.6495 GB, free: 3.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.69e-05/0.1258, allocations: 116.1 kB / 0.6496 GB, free: 3.543 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.1259, allocations: 31.73 kB / 0.6496 GB, free: 3.512 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.322e-05/0.1259, allocations: 33.7 kB / 0.6497 GB, free: 3.473 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.1261, allocations: 334.8 kB / 0.65 GB, free: 3.137 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.081e-05/0.1261, allocations: 55.97 kB / 0.65 GB, free: 3.082 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.976e-05/0.1262, allocations: 81.69 kB / 0.6501 GB, free: 2.996 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.1264, allocations: 193.1 kB / 0.6503 GB, free: 2.789 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1264, allocations: 0 / 0.6503 GB, free: 2.789 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003117/0.1268, allocations: 267.2 kB / 0.6506 GB, free: 2.516 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.551e-05/0.1268, allocations: 41.69 kB / 0.6506 GB, free: 2.469 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1268, allocations: 0 / 0.6506 GB, free: 2.469 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1268, allocations: 4 kB / 0.6506 GB, free: 2.465 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.818e-05/0.1269, allocations: 8 kB / 0.6506 GB, free: 2.457 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.127, allocations: 8 kB / 0.6506 GB, free: 2.449 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.627e-05/0.1271, allocations: 15.88 kB / 0.6506 GB, free: 2.434 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.1271, allocations: 4 kB / 0.6506 GB, free: 2.43 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.0001336/0.1272, allocations: 188 kB / 0.6508 GB, free: 2.23 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-05/0.1273, allocations: 19.91 kB / 0.6508 GB, free: 2.211 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001865/0.1274, allocations: 99.45 kB / 0.6509 GB, free: 2.105 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1275, allocations: 4 kB / 0.6509 GB, free: 2.102 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1275, allocations: 4.062 kB / 0.6509 GB, free: 2.098 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.1275, allocations: 4 kB / 0.6509 GB, free: 2.094 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.1277, allocations: 237.4 kB / 0.6512 GB, free: 1.812 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1277, allocations: 0 / 0.6512 GB, free: 1.812 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.244e-05/0.1277, allocations: 8 kB / 0.6512 GB, free: 1.805 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.778e-06/0.1277, allocations: 4 kB / 0.6512 GB, free: 1.801 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.1278, allocations: 4 kB / 0.6512 GB, free: 1.797 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1278, allocations: 3.938 kB / 0.6512 GB, free: 1.793 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1278, allocations: 0 / 0.6512 GB, free: 1.793 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003849/0.1282, allocations: 339.5 kB / 0.6515 GB, free: 1.434 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.008e-05/0.1282, allocations: 108.9 kB / 0.6516 GB, free: 1.309 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.273e-05/0.1283, allocations: 4 kB / 0.6516 GB, free: 1.305 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.678e-05/0.1284, allocations: 11.98 kB / 0.6516 GB, free: 1.293 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.743e-05/0.1284, allocations: 4 kB / 0.6516 GB, free: 1.289 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.1285, allocations: 7.984 kB / 0.6516 GB, free: 1.281 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001201/0.1286, allocations: 164.5 kB / 0.6518 GB, free: 1.121 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1286, allocations: 3.938 kB / 0.6518 GB, free: 1.117 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000239/0.1288, allocations: 51.86 kB / 0.6519 GB, free: 1.066 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.0006863/0.1295, allocations: 0.8922 MB / 0.6527 GB, free: 140 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003126/0.1299, allocations: 243.4 kB / 0.653 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1299, allocations: 0 / 0.653 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.13, allocations: 167.3 kB / 0.6531 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.1302, allocations: 16.75 kB / 0.6531 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/0.1324, allocations: 2.242 MB / 0.6553 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.1326, allocations: 0.7274 MB / 0.656 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.676e-05/0.1327, allocations: 4 kB / 0.656 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.918e-05/0.1328, allocations: 43.42 kB / 0.6561 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1328, allocations: 0 / 0.6561 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01722/0.15, allocations: 3.539 MB / 0.6595 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.97/7.12, allocations: 1 kB / 0.6595 GB, free: 9.16 MB / 0.4981 GB (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)