Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.SolarAzimuth,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IBPSA_latest_IBPSA_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.001041/0.001046, allocations: 106.3 kB / 16.41 MB, free: 6.438 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.0009445/0.0009445, allocations: 195 kB / 17.34 MB, free: 5.703 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.222/1.222, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7329/0.7329, allocations: 122.9 MB / 414.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 67.11 kB / 0.5679 GB, free: 28.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.12, allocations: 77.93 MB / 0.644 GB, free: 9.555 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005994/0.126, allocations: 4.997 MB / 0.6489 GB, free: 4.535 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.427/0.553, allocations: 150.7 MB / 0.7961 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007236/0.5538, allocations: 16.84 kB / 0.7961 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005036/0.5543, allocations: 198.6 kB / 0.7963 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001382/0.5557, allocations: 0.5631 MB / 0.7969 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001614/0.5573, allocations: 0.8834 MB / 0.7977 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009878/0.5583, allocations: 1.479 MB / 0.7992 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006877/0.559, allocations: 0.6068 MB / 0.7998 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004756/0.5595, allocations: 0.518 MB / 0.8003 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000447/0.5599, allocations: 0.5384 MB / 0.8008 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.5601, allocations: 120.9 kB / 0.8009 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007108/0.5608, allocations: 0.5063 MB / 0.8014 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002197/0.561, allocations: 312.1 kB / 0.8017 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004008/0.5614, allocations: 0.5946 MB / 0.8023 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.5629, allocations: 1.731 MB / 0.804 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.5629, allocations: 3.5 kB / 0.804 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5629, allocations: 4 kB / 0.804 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.336e-05/0.5629, allocations: 0 / 0.804 GB, free: 11.96 MB / 0.5919 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.002344/0.5653, allocations: 1.539 MB / 0.8055 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.5653, allocations: 10.55 kB / 0.8055 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001353/0.5655, allocations: 142.4 kB / 0.8056 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008398/0.5663, allocations: 198.6 kB / 0.8058 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.5674, allocations: 0.7953 MB / 0.8066 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.122e-05/0.5674, allocations: 66.56 kB / 0.8067 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.5675, allocations: 84.75 kB / 0.8067 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.5689, allocations: 0.9794 MB / 0.8077 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.569, allocations: 0 / 0.8077 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.116e-05/0.569, allocations: 46.3 kB / 0.8077 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.5691, allocations: 21.03 kB / 0.8078 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001576/0.5706, allocations: 1.157 MB / 0.8089 GB, free: 10.07 MB / 0.5919 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.003689/0.5743, allocations: 2.904 MB / 0.8117 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/0.5762, allocations: 0.9742 MB / 0.8127 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005277/0.5767, allocations: 330.3 kB / 0.813 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.666e-05/0.5768, allocations: 35.23 kB / 0.813 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008211/0.5776, allocations: 0.5358 MB / 0.8136 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=88): time 2.003e-06/0.5776, allocations: 2.688 kB / 0.8136 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of matching and sorting (n=88): time 0.002997/0.5806, allocations: 1.302 MB / 0.8148 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.431e-05/0.5807, allocations: 194.8 kB / 0.815 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006567/0.5814, allocations: 0.6516 MB / 0.8157 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.412e-05/0.5815, allocations: 49.23 kB / 0.8157 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002574/0.5817, allocations: 409.7 kB / 0.8161 GB, free: 5.895 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001984/0.5819, allocations: 300.6 kB / 0.8164 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000224/0.5822, allocations: 163.8 kB / 0.8165 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.5823, allocations: 386.9 kB / 0.8169 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000495/0.5828, allocations: 269.2 kB / 0.8172 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005868/0.5834, allocations: 384.9 kB / 0.8175 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.5845, allocations: 0.6294 MB / 0.8181 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5845, allocations: 0 / 0.8181 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001783/0.5863, allocations: 0.8734 MB / 0.819 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.5863, allocations: 4.875 kB / 0.819 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.5863, allocations: 2.625 kB / 0.819 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005463/0.5868, allocations: 87.23 kB / 0.8191 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006385/0.5875, allocations: 167.5 kB / 0.8192 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/0.5893, allocations: 1.632 MB / 0.8208 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006897/0.59, allocations: 108.5 kB / 0.8209 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.752e-05/0.5901, allocations: 38.98 kB / 0.821 GB, free: 2.246 MB / 0.5919 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.0003315/0.5904, allocations: 271.9 kB / 0.8212 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.5906, allocations: 93.89 kB / 0.8213 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002363/0.593, allocations: 1.199 MB / 0.8225 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.593, allocations: 10.62 kB / 0.8225 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.593, allocations: 0 / 0.8225 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.593, allocations: 10 kB / 0.8225 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003029/0.596, allocations: 2.099 MB / 0.8246 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.5961, allocations: 0 / 0.8246 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005954/0.5967, allocations: 165.1 kB / 0.8247 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004011/0.5971, allocations: 74.78 kB / 0.8248 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.604e-05/0.5971, allocations: 30.09 kB / 0.8248 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001657/0.5988, allocations: 1.657 MB / 0.8264 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.5988, allocations: 2.25 kB / 0.8264 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001902/0.6007, allocations: 1.094 MB / 0.8275 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003492/0.6011, allocations: 292.5 kB / 0.8278 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.6012, allocations: 25.08 kB / 0.8278 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006887/0.6019, allocations: 75.27 kB / 0.8279 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.602, allocations: 82.81 kB / 0.828 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.855e-05/0.6021, allocations: 45.09 kB / 0.828 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004963/0.6026, allocations: 474.9 kB / 0.8285 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6026, allocations: 0 / 0.8285 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007966/0.6034, allocations: 343.1 kB / 0.8288 GB, free: 12.89 MB / 0.6075 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.003248/0.6067, allocations: 2.173 MB / 0.8309 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00154/0.6082, allocations: 0.8696 MB / 0.8318 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6083, allocations: 3.359 kB / 0.8318 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008742/0.6091, allocations: 0.5597 MB / 0.8323 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.6103, allocations: 309.2 kB / 0.8326 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009474/0.6198, allocations: 6.595 MB / 0.839 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005854/0.6204, allocations: 1.048 MB / 0.8401 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007784/0.6212, allocations: 283 kB / 0.8403 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005626/0.6218, allocations: 415.3 kB / 0.8407 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of SimCode: time 5.31e-07/0.6218, allocations: 0 / 0.8407 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04788/0.6697, allocations: 22.91 MB / 0.8631 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.27, allocations: 9.172 kB / 0.8631 GB, free: 12.79 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)