Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 120.8 kB / 17.09 MB, free: 5.988 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.001439/0.001439, allocations: 192.7 kB / 18.02 MB, free: 5.066 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.277/1.277, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6728/0.6728, allocations: 115.3 MB / 407.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 62.25 kB / 0.5583 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1311, allocations: 76.18 MB / 0.6327 GB, free: 4.449 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.007334/0.1385, allocations: 7.011 MB / 0.6396 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5168/0.6553, allocations: 151.2 MB / 0.7872 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001567/0.6569, allocations: 19.28 kB / 0.7872 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008901/0.6579, allocations: 271.3 kB / 0.7875 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002601/0.6605, allocations: 0.7764 MB / 0.7882 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002451/0.663, allocations: 1.018 MB / 0.7892 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00298/0.6659, allocations: 2.088 MB / 0.7912 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001554/0.6675, allocations: 1.103 MB / 0.7923 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001699/0.6692, allocations: 0.8309 MB / 0.7931 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001165/0.6704, allocations: 0.8835 MB / 0.794 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002641/0.6707, allocations: 218.7 kB / 0.7942 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001269/0.672, allocations: 0.5715 MB / 0.7948 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003942/0.6724, allocations: 497 kB / 0.7952 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008938/0.6733, allocations: 0.9663 MB / 0.7962 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003095/0.6764, allocations: 2.67 MB / 0.7988 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.6764, allocations: 1.969 kB / 0.7988 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6764, allocations: 0 / 0.7988 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.833e-05/0.6765, allocations: 0 / 0.7988 GB, free: 12.05 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.004008/0.6805, allocations: 2.05 MB / 0.8008 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.6805, allocations: 14.16 kB / 0.8008 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.6815, allocations: 252.9 kB / 0.801 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001577/0.6831, allocations: 0.9914 MB / 0.802 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001403/0.6833, allocations: 148.9 kB / 0.8022 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/0.6835, allocations: 153.3 kB / 0.8023 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002598/0.6861, allocations: 1.586 MB / 0.8039 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.128e-05/0.6861, allocations: 6.656 kB / 0.8039 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/0.6862, allocations: 69.58 kB / 0.8039 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.629e-05/0.6863, allocations: 37.34 kB / 0.804 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00235/0.6886, allocations: 1.596 MB / 0.8055 GB, free: 9.699 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.007022/0.6957, allocations: 4.668 MB / 0.8101 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/0.6975, allocations: 1.101 MB / 0.8112 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006828/0.6982, allocations: 437.3 kB / 0.8116 GB, free: 6 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.962e-05/0.6983, allocations: 39.41 kB / 0.8116 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001167/0.6995, allocations: 0.7064 MB / 0.8123 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=111): time 2.996e-06/0.6995, allocations: 3.75 kB / 0.8123 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of matching and sorting (n=111): time 0.003751/0.7032, allocations: 1.654 MB / 0.8139 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.7034, allocations: 197.8 kB / 0.8141 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.7045, allocations: 0.8439 MB / 0.8149 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001081/0.7046, allocations: 46.86 kB / 0.815 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005323/0.7051, allocations: 0.6218 MB / 0.8156 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003408/0.7055, allocations: 352 kB / 0.8159 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003309/0.7058, allocations: 221.8 kB / 0.8161 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.706, allocations: 354.1 kB / 0.8165 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006827/0.7067, allocations: 394.5 kB / 0.8168 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008617/0.7075, allocations: 0.511 MB / 0.8173 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/0.709, allocations: 0.8904 MB / 0.8182 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.709, allocations: 0 / 0.8182 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.00256/0.7116, allocations: 1.209 MB / 0.8194 GB, free: 0.9922 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.7116, allocations: 4.875 kB / 0.8194 GB, free: 0.9922 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.7116, allocations: 6.625 kB / 0.8194 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000546/0.7122, allocations: 80.02 kB / 0.8195 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008922/0.7131, allocations: 237.1 kB / 0.8197 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001979/0.7151, allocations: 1.651 MB / 0.8213 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/0.7161, allocations: 128.7 kB / 0.8214 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.7163, allocations: 61.27 kB / 0.8215 GB, free: 15.16 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 134 * 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.0006992/0.717, allocations: 348.8 kB / 0.8218 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002349/0.7172, allocations: 115.8 kB / 0.8219 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003047/0.7203, allocations: 1.536 MB / 0.8234 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.7203, allocations: 12.25 kB / 0.8235 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.7203, allocations: 0 / 0.8235 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/0.7203, allocations: 3.984 kB / 0.8235 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001624/0.7219, allocations: 1.369 MB / 0.8248 GB, free: 13 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.722, allocations: 0 / 0.8248 GB, free: 13 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007503/0.7227, allocations: 199 kB / 0.825 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004145/0.7231, allocations: 74.78 kB / 0.8251 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.663e-05/0.7232, allocations: 40.31 kB / 0.8251 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001772/0.725, allocations: 1.666 MB / 0.8267 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.725, allocations: 3.938 kB / 0.8267 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002411/0.7274, allocations: 1.285 MB / 0.828 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005127/0.728, allocations: 358.3 kB / 0.8283 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001609/0.7281, allocations: 31.36 kB / 0.8283 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007937/0.7289, allocations: 80.11 kB / 0.8284 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002185/0.7292, allocations: 103.1 kB / 0.8285 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.7293, allocations: 52.27 kB / 0.8286 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000819/0.7301, allocations: 0.6194 MB / 0.8292 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7301, allocations: 0 / 0.8292 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001197/0.7313, allocations: 477.5 kB / 0.8296 GB, free: 9.645 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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001298/0.7326, allocations: 0.6319 MB / 0.8302 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002085/0.7347, allocations: 1.147 MB / 0.8314 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.7347, allocations: 4.062 kB / 0.8314 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.7359, allocations: 0.6794 MB / 0.832 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001449/0.7373, allocations: 346.8 kB / 0.8324 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004184/0.7415, allocations: 2.512 MB / 0.8348 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007874/0.7423, allocations: 1.22 MB / 0.836 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005556/0.7429, allocations: 163.3 kB / 0.8362 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of SimCode: time 1.362e-06/0.7429, allocations: 0 / 0.8362 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of Templates: time 0.03504/0.7779, allocations: 27.67 MB / 0.8632 GB, free: 8.273 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)