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.005522/0.005522, allocations: 98.97 kB / 15.73 MB, free: 6.043 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.001494/0.001494, allocations: 199.1 kB / 16.68 MB, free: 5.965 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002478/0.002478, allocations: 286 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.021/1.021, allocations: 178.6 MB / 0.5074 GB, free: 4.492 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002636/0.002636, allocations: 98.94 kB / 0.6943 GB, free: 3.633 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4068, allocations: 89.14 MB / 0.7813 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.007112/0.414, allocations: 5.017 MB / 0.7862 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1726/0.5866, allocations: 150.7 MB / 0.9334 GB, free: 3.004 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009447/0.5876, allocations: 19.88 kB / 0.9334 GB, free: 2.984 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007399/0.5884, allocations: 194.2 kB / 0.9336 GB, free: 2.793 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002124/0.5906, allocations: 0.5623 MB / 0.9342 GB, free: 2.23 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002405/0.593, allocations: 0.8897 MB / 0.935 GB, free: 1.348 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001835/0.5948, allocations: 1.46 MB / 0.9365 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009505/0.5958, allocations: 0.6023 MB / 0.9371 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007745/0.5966, allocations: 0.51 MB / 0.9376 GB, free: 14.74 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007803/0.5974, allocations: 0.5484 MB / 0.9381 GB, free: 14.19 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.000227/0.5976, allocations: 124 kB / 0.9382 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.5986, allocations: 0.4957 MB / 0.9387 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003302/0.599, allocations: 314.9 kB / 0.939 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0006702/0.5997, allocations: 0.5907 MB / 0.9396 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002227/0.6019, allocations: 1.729 MB / 0.9413 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.6019, allocations: 0 / 0.9413 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6019, allocations: 0 / 0.9413 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.083e-05/0.6019, allocations: 0 / 0.9413 GB, free: 10.93 MB / 0.7012 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.002987/0.6049, allocations: 1.555 MB / 0.9428 GB, free: 9.324 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.605, allocations: 8.031 kB / 0.9428 GB, free: 9.316 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000189/0.6052, allocations: 139.8 kB / 0.9429 GB, free: 9.172 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009393/0.6061, allocations: 196 kB / 0.9431 GB, free: 8.98 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.6074, allocations: 0.794 MB / 0.9439 GB, free: 8.145 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.768e-05/0.6074, allocations: 69.94 kB / 0.944 GB, free: 8.078 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.6076, allocations: 87.98 kB / 0.944 GB, free: 7.992 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/0.6093, allocations: 0.973 MB / 0.945 GB, free: 6.977 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.6094, allocations: 0 / 0.945 GB, free: 6.977 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.919e-05/0.6095, allocations: 40 kB / 0.945 GB, free: 6.938 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.027e-05/0.6095, allocations: 20 kB / 0.945 GB, free: 6.918 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/0.6115, allocations: 1.159 MB / 0.9462 GB, free: 5.762 MB / 0.7012 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004527/0.616, allocations: 2.904 MB / 0.949 GB, free: 2.738 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002169/0.6182, allocations: 0.9733 MB / 0.95 GB, free: 1.738 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000616/0.6188, allocations: 330.7 kB / 0.9503 GB, free: 1.414 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.83e-05/0.6189, allocations: 34.66 kB / 0.9503 GB, free: 1.383 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009561/0.6199, allocations: 0.547 MB / 0.9508 GB, free: 0.8125 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=88): time 2.184e-06/0.6199, allocations: 0 / 0.9508 GB, free: 0.8125 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88): time 0.00341/0.6233, allocations: 1.302 MB / 0.9521 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.6234, allocations: 188.9 kB / 0.9523 GB, free: 15.26 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009005/0.6243, allocations: 0.649 MB / 0.9529 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.334e-05/0.6244, allocations: 49.64 kB / 0.953 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003472/0.6248, allocations: 417.1 kB / 0.9534 GB, free: 14.13 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002511/0.625, allocations: 305.4 kB / 0.9537 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002655/0.6253, allocations: 162.6 kB / 0.9538 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002084/0.6255, allocations: 386.8 kB / 0.9542 GB, free: 13.28 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005586/0.6261, allocations: 265.9 kB / 0.9544 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006864/0.6268, allocations: 390.5 kB / 0.9548 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.628, allocations: 0.6281 MB / 0.9554 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.628, allocations: 0 / 0.9554 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002046/0.6301, allocations: 0.8726 MB / 0.9563 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.6301, allocations: 8 kB / 0.9563 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.6301, allocations: 0 / 0.9563 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000583/0.6307, allocations: 88.77 kB / 0.9564 GB, free: 11 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006869/0.6314, allocations: 163.8 kB / 0.9565 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002291/0.6337, allocations: 1.626 MB / 0.9581 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007365/0.6345, allocations: 99.48 kB / 0.9582 GB, free: 8.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.332e-05/0.6345, allocations: 39.97 kB / 0.9583 GB, free: 8.926 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.0004178/0.635, allocations: 275.7 kB / 0.9585 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.6351, allocations: 91.39 kB / 0.9586 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002726/0.6379, allocations: 1.191 MB / 0.9598 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.6379, allocations: 12 kB / 0.9598 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.6379, allocations: 4 kB / 0.9598 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.6379, allocations: 3.984 kB / 0.9598 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003575/0.6415, allocations: 2.107 MB / 0.9618 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.6415, allocations: 0 / 0.9618 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006578/0.6422, allocations: 167.8 kB / 0.962 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004466/0.6427, allocations: 76.72 kB / 0.9621 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.445e-05/0.6427, allocations: 27.98 kB / 0.9621 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002028/0.6448, allocations: 1.658 MB / 0.9637 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6448, allocations: 4.062 kB / 0.9637 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002247/0.647, allocations: 1.096 MB / 0.9648 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003872/0.6474, allocations: 292.1 kB / 0.9651 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/0.6476, allocations: 24.06 kB / 0.9651 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007108/0.6483, allocations: 68.62 kB / 0.9652 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.6485, allocations: 88.83 kB / 0.9652 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.113e-05/0.6486, allocations: 43.97 kB / 0.9653 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006236/0.6492, allocations: 475 kB / 0.9657 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6492, allocations: 0 / 0.9657 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008892/0.6501, allocations: 347.1 kB / 0.9661 GB, free: 0.6445 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.004304/0.6544, allocations: 2.177 MB / 0.9682 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001791/0.6562, allocations: 0.8663 MB / 0.969 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6562, allocations: 192 / 0.969 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.6573, allocations: 0.5665 MB / 0.9696 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.6585, allocations: 304.9 kB / 0.9699 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/0.6694, allocations: 6.578 MB / 0.9763 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000714/0.6701, allocations: 1.048 MB / 0.9773 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008329/0.671, allocations: 279 kB / 0.9776 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006139/0.6716, allocations: 419.2 kB / 0.978 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of SimCode: time 6.81e-07/0.6716, allocations: 0 / 0.978 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05948/0.7311, allocations: 22.97 MB / 1 GB, free: 13.82 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/13.66, allocations: 14.59 kB / 1 GB, free: 13.82 MB / 0.7637 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)