Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 110 kB / 16.41 MB, free: 6.484 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.001166/0.001166, allocations: 193.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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7145/0.7145, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 61.91 kB / 0.5577 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1334, allocations: 76.18 MB / 0.6321 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006294/0.1398, allocations: 4.766 MB / 0.6367 GB, free: 15.63 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5036/0.6434, allocations: 150.6 MB / 0.7838 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007593/0.6442, allocations: 14.81 kB / 0.7838 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005114/0.6448, allocations: 196.1 kB / 0.784 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001408/0.6462, allocations: 0.5313 MB / 0.7845 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001562/0.6478, allocations: 0.8346 MB / 0.7853 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001051/0.6488, allocations: 1.367 MB / 0.7866 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006746/0.6495, allocations: 0.5721 MB / 0.7872 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004624/0.65, allocations: 479.9 kB / 0.7877 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004717/0.6504, allocations: 0.4919 MB / 0.7881 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001367/0.6506, allocations: 114.2 kB / 0.7882 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000737/0.6513, allocations: 487.3 kB / 0.7887 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002098/0.6516, allocations: 289.7 kB / 0.789 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003835/0.652, allocations: 0.5522 MB / 0.7895 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0013/0.6533, allocations: 1.607 MB / 0.7911 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.6533, allocations: 0 / 0.7911 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6533, allocations: 1.781 kB / 0.7911 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.6533, allocations: 0 / 0.7911 GB, free: 13.19 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002114/0.6554, allocations: 1.413 MB / 0.7925 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.6555, allocations: 7.531 kB / 0.7925 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008433/0.6563, allocations: 179.5 kB / 0.7927 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009001/0.6572, allocations: 0.7627 MB / 0.7934 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.88e-05/0.6573, allocations: 61.09 kB / 0.7935 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.377e-05/0.6574, allocations: 80.22 kB / 0.7935 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/0.6587, allocations: 0.9088 MB / 0.7944 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.6587, allocations: 0 / 0.7944 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.325e-05/0.6588, allocations: 34.53 kB / 0.7945 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.6588, allocations: 20.94 kB / 0.7945 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001443/0.6602, allocations: 1.096 MB / 0.7955 GB, free: 11.83 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.003295/0.6635, allocations: 2.657 MB / 0.7981 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/0.6648, allocations: 0.8577 MB / 0.799 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004424/0.6653, allocations: 305 kB / 0.7993 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.901e-05/0.6653, allocations: 30.8 kB / 0.7993 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007342/0.6661, allocations: 495.7 kB / 0.7998 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=79): time 2.274e-06/0.6661, allocations: 0 / 0.7998 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=79): time 0.002796/0.6689, allocations: 1.186 MB / 0.8009 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.785e-05/0.669, allocations: 188.2 kB / 0.8011 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006315/0.6696, allocations: 0.6267 MB / 0.8017 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.031e-05/0.6697, allocations: 44.11 kB / 0.8018 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002403/0.67, allocations: 391.1 kB / 0.8021 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/0.6701, allocations: 249.1 kB / 0.8024 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/0.6704, allocations: 163.2 kB / 0.8025 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.6705, allocations: 385.1 kB / 0.8029 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004504/0.671, allocations: 262 kB / 0.8031 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005136/0.6715, allocations: 360.4 kB / 0.8035 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009257/0.6724, allocations: 0.6024 MB / 0.8041 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.6724, allocations: 3.938 kB / 0.8041 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00167/0.6741, allocations: 0.8437 MB / 0.8049 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.6741, allocations: 4.812 kB / 0.8049 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.6742, allocations: 2.844 kB / 0.8049 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005532/0.6747, allocations: 78.22 kB / 0.805 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005704/0.6753, allocations: 157.5 kB / 0.8051 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001922/0.6772, allocations: 1.643 MB / 0.8067 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006328/0.6779, allocations: 86.91 kB / 0.8068 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.33e-05/0.6779, allocations: 33.92 kB / 0.8069 GB, free: 6.809 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: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0003501/0.6783, allocations: 273.5 kB / 0.8071 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.6785, allocations: 84.66 kB / 0.8072 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002042/0.6805, allocations: 1.046 MB / 0.8082 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.6805, allocations: 9.562 kB / 0.8082 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.6805, allocations: 4 kB / 0.8082 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.6805, allocations: 10.5 kB / 0.8082 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002699/0.6832, allocations: 1.903 MB / 0.8101 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.6833, allocations: 0 / 0.8101 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004995/0.6838, allocations: 140.3 kB / 0.8102 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004004/0.6842, allocations: 75.84 kB / 0.8103 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.157e-05/0.6842, allocations: 27.25 kB / 0.8103 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001691/0.6859, allocations: 1.661 MB / 0.812 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.686, allocations: 3.938 kB / 0.812 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/0.6877, allocations: 0.9798 MB / 0.8129 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002861/0.688, allocations: 267.5 kB / 0.8132 GB, free: 2.832 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.6881, allocations: 24.33 kB / 0.8132 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005988/0.6887, allocations: 65.05 kB / 0.8133 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.6889, allocations: 73.39 kB / 0.8133 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.05e-05/0.6889, allocations: 34.2 kB / 0.8134 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004521/0.6894, allocations: 448.3 kB / 0.8138 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6894, allocations: 2.219 kB / 0.8138 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007703/0.6902, allocations: 317.5 kB / 0.8141 GB, free: 2.383 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001194/0.6914, allocations: 0.6018 MB / 0.8147 GB, free: 2.117 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001422/0.6928, allocations: 0.8212 MB / 0.8155 GB, free: 1.688 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.6928, allocations: 0 / 0.8155 GB, free: 1.688 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000799/0.6936, allocations: 0.5151 MB / 0.816 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.6948, allocations: 300.8 kB / 0.8163 GB, free: 1.246 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002549/0.6973, allocations: 1.615 MB / 0.8178 GB, free: 292 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000582/0.6979, allocations: 1.015 MB / 0.8188 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007012/0.6987, allocations: 257.2 kB / 0.8191 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002346/0.6989, allocations: 105.9 kB / 0.8192 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.6989, allocations: 0 / 0.8192 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of Templates: time 0.02229/0.7212, allocations: 15.1 MB / 0.8339 GB, free: 4.238 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)