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: translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 117.5 kB / 17.08 MB, free: 5.969 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.001017/0.001017, allocations: 197.9 kB / 18.02 MB, free: 5.047 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.266/1.266, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6941/0.6941, allocations: 115.3 MB / 407.2 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 61.98 kB / 0.5583 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.117, allocations: 76.17 MB / 0.6327 GB, free: 4.535 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006189/0.1232, allocations: 4.998 MB / 0.6376 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.436/0.5593, allocations: 150.7 MB / 0.7848 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008383/0.5601, allocations: 15.56 kB / 0.7848 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005725/0.5608, allocations: 201.7 kB / 0.785 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001558/0.5623, allocations: 0.5652 MB / 0.7856 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001732/0.5641, allocations: 0.8922 MB / 0.7864 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001259/0.5653, allocations: 1.472 MB / 0.7879 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007219/0.5661, allocations: 0.5985 MB / 0.7884 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006399/0.5667, allocations: 0.5203 MB / 0.789 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005293/0.5673, allocations: 0.5388 MB / 0.7895 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001454/0.5674, allocations: 119.8 kB / 0.7896 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008942/0.5683, allocations: 0.5065 MB / 0.7901 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002337/0.5686, allocations: 316 kB / 0.7904 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004612/0.569, allocations: 0.5907 MB / 0.791 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001593/0.5706, allocations: 1.718 MB / 0.7926 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5706, allocations: 0 / 0.7926 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5706, allocations: 0 / 0.7926 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.344e-05/0.5707, allocations: 0 / 0.7926 GB, free: 13.07 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.002412/0.5731, allocations: 1.497 MB / 0.7941 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.5731, allocations: 10.38 kB / 0.7941 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008563/0.574, allocations: 188.3 kB / 0.7943 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009833/0.575, allocations: 0.7905 MB / 0.7951 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.969e-05/0.575, allocations: 74.22 kB / 0.7951 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.49e-05/0.5751, allocations: 82.47 kB / 0.7952 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.5766, allocations: 0.9811 MB / 0.7962 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.5766, allocations: 0 / 0.7962 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.35e-05/0.5767, allocations: 37.34 kB / 0.7962 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.5768, allocations: 26.19 kB / 0.7962 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001597/0.5784, allocations: 1.161 MB / 0.7974 GB, free: 11.66 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.003842/0.5822, allocations: 2.889 MB / 0.8002 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001856/0.5841, allocations: 0.9753 MB / 0.8011 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005122/0.5846, allocations: 330.2 kB / 0.8015 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.554e-05/0.5847, allocations: 31.14 kB / 0.8015 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008234/0.5855, allocations: 0.5333 MB / 0.802 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=88): time 2.535e-06/0.5855, allocations: 0 / 0.802 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of matching and sorting (n=88): time 0.003005/0.5885, allocations: 1.295 MB / 0.8033 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.888e-05/0.5887, allocations: 203 kB / 0.8035 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006862/0.5893, allocations: 0.6494 MB / 0.8041 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.021e-05/0.5894, allocations: 45.27 kB / 0.8041 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002552/0.5897, allocations: 407.2 kB / 0.8045 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/0.5899, allocations: 282.9 kB / 0.8048 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002284/0.5901, allocations: 187.7 kB / 0.805 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.5903, allocations: 384.5 kB / 0.8053 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004933/0.5908, allocations: 294.5 kB / 0.8056 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005901/0.5914, allocations: 390.5 kB / 0.806 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.5924, allocations: 0.6512 MB / 0.8066 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.5924, allocations: 2.094 kB / 0.8066 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00182/0.5942, allocations: 0.9157 MB / 0.8075 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.5943, allocations: 9.406 kB / 0.8075 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.5943, allocations: 0.875 kB / 0.8075 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005456/0.5948, allocations: 80.59 kB / 0.8076 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006655/0.5955, allocations: 177.5 kB / 0.8078 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001946/0.5975, allocations: 1.628 MB / 0.8094 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007786/0.5983, allocations: 116.6 kB / 0.8095 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-05/0.5983, allocations: 39.38 kB / 0.8095 GB, free: 6.23 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: 21 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (104): * Single equations (assignments): 103 * 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.0003925/0.5987, allocations: 272.9 kB / 0.8098 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.5989, allocations: 89.72 kB / 0.8099 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00235/0.6012, allocations: 1.199 MB / 0.811 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.6013, allocations: 10.09 kB / 0.8111 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.6013, allocations: 0 / 0.8111 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/0.6013, allocations: 7.969 kB / 0.8111 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003092/0.6044, allocations: 2.099 MB / 0.8131 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.6044, allocations: 0 / 0.8131 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005924/0.605, allocations: 163.9 kB / 0.8133 GB, free: 4.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004102/0.6054, allocations: 74.31 kB / 0.8133 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.79e-05/0.6055, allocations: 34.12 kB / 0.8134 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001728/0.6072, allocations: 1.652 MB / 0.815 GB, free: 2.352 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.6072, allocations: 3.984 kB / 0.815 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001961/0.6092, allocations: 1.091 MB / 0.8161 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003605/0.6096, allocations: 292.3 kB / 0.8163 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.6097, allocations: 17.28 kB / 0.8163 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007045/0.6104, allocations: 75.27 kB / 0.8164 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.6106, allocations: 86.84 kB / 0.8165 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.201e-05/0.6107, allocations: 40.78 kB / 0.8165 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005466/0.6112, allocations: 476.2 kB / 0.817 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6112, allocations: 0 / 0.817 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009043/0.6121, allocations: 354.8 kB / 0.8173 GB, free: 1.004 MB / 0.5919 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.001342/0.6135, allocations: 0.631 MB / 0.8179 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00171/0.6152, allocations: 0.8931 MB / 0.8188 GB, free: 268 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.6152, allocations: 4.188 kB / 0.8188 GB, free: 264 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009482/0.6162, allocations: 0.5636 MB / 0.8194 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.6174, allocations: 301.6 kB / 0.8197 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003018/0.6205, allocations: 1.791 MB / 0.8214 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005924/0.6211, allocations: 1.048 MB / 0.8224 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003371/0.6214, allocations: 128.5 kB / 0.8226 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of SimCode: time 7.11e-07/0.6214, allocations: 0 / 0.8226 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of Templates: time 0.02487/0.6463, allocations: 19.64 MB / 0.8417 GB, free: 13.05 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (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 & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)