Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.005407/0.005408, allocations: 99.75 kB / 15.73 MB, free: 6.039 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.001278/0.001278, allocations: 192.2 kB / 16.67 MB, free: 5.949 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002468/0.002468, allocations: 296.5 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9764/0.9764, allocations: 169.2 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002686/0.002686, allocations: 99.84 kB / 0.681 GB, free: 7.449 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3896, allocations: 86.97 MB / 0.7659 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006472/0.3961, allocations: 4.509 MB / 0.7703 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1671/0.5632, allocations: 150.7 MB / 0.9174 GB, free: 8.035 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007005/0.564, allocations: 19.88 kB / 0.9175 GB, free: 8.016 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006597/0.5646, allocations: 174.3 kB / 0.9176 GB, free: 7.844 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001851/0.5665, allocations: 0.5185 MB / 0.9181 GB, free: 7.324 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002213/0.5688, allocations: 0.8822 MB / 0.919 GB, free: 6.449 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001819/0.5706, allocations: 1.378 MB / 0.9203 GB, free: 5.062 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.5717, allocations: 0.6488 MB / 0.921 GB, free: 4.391 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000833/0.5725, allocations: 0.4983 MB / 0.9215 GB, free: 3.891 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008727/0.5734, allocations: 0.5289 MB / 0.922 GB, free: 3.359 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003006/0.5737, allocations: 128 kB / 0.9221 GB, free: 3.234 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001156/0.5749, allocations: 0.4996 MB / 0.9226 GB, free: 2.734 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003861/0.5753, allocations: 311 kB / 0.9229 GB, free: 2.43 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007284/0.576, allocations: 0.5752 MB / 0.9234 GB, free: 1.852 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002508/0.5786, allocations: 1.698 MB / 0.9251 GB, free: 156 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.5786, allocations: 7.938 kB / 0.9251 GB, free: 148 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.183e-06/0.5786, allocations: 0 / 0.9251 GB, free: 148 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.928e-05/0.5786, allocations: 0 / 0.9251 GB, free: 148 kB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.003336/0.582, allocations: 1.532 MB / 0.9266 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.582, allocations: 8.031 kB / 0.9266 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002304/0.5823, allocations: 147.8 kB / 0.9268 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009972/0.5833, allocations: 196 kB / 0.9269 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.5847, allocations: 0.7902 MB / 0.9277 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.088e-05/0.5848, allocations: 70 kB / 0.9278 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.5849, allocations: 84 kB / 0.9279 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/0.5868, allocations: 0.9769 MB / 0.9288 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.5868, allocations: 0 / 0.9288 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.587, allocations: 40 kB / 0.9289 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.357e-05/0.587, allocations: 20 kB / 0.9289 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002128/0.5891, allocations: 1.155 MB / 0.93 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005014/0.5942, allocations: 2.691 MB / 0.9326 GB, free: 8.223 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002304/0.5965, allocations: 0.9847 MB / 0.9336 GB, free: 7.219 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006604/0.5972, allocations: 326.7 kB / 0.9339 GB, free: 6.895 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.457e-05/0.5973, allocations: 34.67 kB / 0.9339 GB, free: 6.863 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/0.5983, allocations: 0.5315 MB / 0.9345 GB, free: 6.312 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=88): time 2.976e-06/0.5983, allocations: 0 / 0.9345 GB, free: 6.312 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88): time 0.003531/0.6019, allocations: 1.298 MB / 0.9357 GB, free: 4.992 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/0.602, allocations: 196.9 kB / 0.9359 GB, free: 4.754 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.6031, allocations: 0.6567 MB / 0.9365 GB, free: 4.09 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.6032, allocations: 41.7 kB / 0.9366 GB, free: 4.043 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000379/0.6036, allocations: 409.1 kB / 0.937 GB, free: 3.637 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002764/0.6039, allocations: 297.5 kB / 0.9373 GB, free: 3.344 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002785/0.6042, allocations: 162.6 kB / 0.9374 GB, free: 3.18 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000203/0.6044, allocations: 394.7 kB / 0.9378 GB, free: 2.785 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005796/0.605, allocations: 269.9 kB / 0.9381 GB, free: 2.523 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007109/0.6057, allocations: 382.5 kB / 0.9384 GB, free: 2.121 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.607, allocations: 0.632 MB / 0.939 GB, free: 1.48 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.607, allocations: 0 / 0.939 GB, free: 1.48 MB / 0.7012 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00216/0.6091, allocations: 0.8803 MB / 0.9399 GB, free: 0.5859 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.6092, allocations: 4 kB / 0.9399 GB, free: 0.582 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.6092, allocations: 4.094 kB / 0.9399 GB, free: 0.5781 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005707/0.6098, allocations: 72.78 kB / 0.94 GB, free: 0.5039 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006903/0.6105, allocations: 171.8 kB / 0.9401 GB, free: 344 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002211/0.6127, allocations: 1.634 MB / 0.9417 GB, free: 14.56 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008257/0.6135, allocations: 106.8 kB / 0.9418 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.856e-05/0.6137, allocations: 35.97 kB / 0.9419 GB, free: 14.42 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 19 (solAzi.outsidePolarCircle,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005033/0.6142, allocations: 270 kB / 0.9421 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002309/0.6144, allocations: 91.44 kB / 0.9422 GB, free: 14.06 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002845/0.6173, allocations: 1.195 MB / 0.9434 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.6173, allocations: 8 kB / 0.9434 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.6173, allocations: 7.984 kB / 0.9434 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.6173, allocations: 3.984 kB / 0.9434 GB, free: 12.83 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00385/0.6212, allocations: 2.112 MB / 0.9455 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.6212, allocations: 0 / 0.9455 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006613/0.6219, allocations: 167.7 kB / 0.9456 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004345/0.6223, allocations: 76.78 kB / 0.9457 GB, free: 10.42 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.757e-05/0.6224, allocations: 27.98 kB / 0.9457 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002038/0.6245, allocations: 1.666 MB / 0.9473 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.6245, allocations: 0 / 0.9473 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002335/0.6268, allocations: 1.1 MB / 0.9484 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000459/0.6273, allocations: 292.1 kB / 0.9487 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/0.6274, allocations: 27.98 kB / 0.9487 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006983/0.6281, allocations: 74.27 kB / 0.9488 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/0.6283, allocations: 80.83 kB / 0.9489 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.517e-05/0.6284, allocations: 43.97 kB / 0.9489 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000637/0.6291, allocations: 471 kB / 0.9494 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6291, allocations: 4 kB / 0.9494 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009046/0.63, allocations: 335.1 kB / 0.9497 GB, free: 6.152 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004391/0.6344, allocations: 2.165 MB / 0.9518 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001911/0.6363, allocations: 0.8702 MB / 0.9527 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.6364, allocations: 0 / 0.9527 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001078/0.6374, allocations: 0.5629 MB / 0.9532 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.6388, allocations: 304.7 kB / 0.9535 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2948/0.9336, allocations: 6.675 MB / 0.96 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004854/0.9341, allocations: 1.047 MB / 0.961 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008541/0.935, allocations: 282.7 kB / 0.9613 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005154/0.9355, allocations: 418.5 kB / 0.9617 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of SimCode: time 7.71e-07/0.9355, allocations: 0 / 0.9617 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04984/0.9854, allocations: 22.58 MB / 0.9838 GB, free: 168.8 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.82, allocations: 15.56 kB / 0.9838 GB, free: 168.8 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)