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.001435/0.001435, allocations: 103.7 kB / 16.52 MB, free: 6.656 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.001566/0.001566, allocations: 198.7 kB / 17.44 MB, free: 6.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.319/1.319, allocations: 222.9 MB / 241.1 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6968/0.6968, allocations: 115.3 MB / 406.6 MB, free: 6.41 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 55.91 kB / 493.6 MB, free: 0.8477 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3311, allocations: 76.17 MB / 0.5564 GB, free: 36.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.007289/0.3385, allocations: 6.98 MB / 0.5632 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1642/0.5027, allocations: 148.8 MB / 0.7085 GB, free: 8.352 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001972/0.5047, allocations: 19.88 kB / 0.7086 GB, free: 8.332 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001361/0.5062, allocations: 194.4 kB / 0.7088 GB, free: 8.141 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00338/0.5096, allocations: 0.6699 MB / 0.7094 GB, free: 7.473 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002979/0.5126, allocations: 0.8892 MB / 0.7103 GB, free: 6.594 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00299/0.5156, allocations: 1.952 MB / 0.7122 GB, free: 4.629 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001826/0.5174, allocations: 1.075 MB / 0.7132 GB, free: 3.5 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/0.5186, allocations: 0.7043 MB / 0.7139 GB, free: 2.793 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001234/0.5199, allocations: 0.8262 MB / 0.7147 GB, free: 1.965 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000425/0.5203, allocations: 112 kB / 0.7148 GB, free: 1.855 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001313/0.5216, allocations: 459.6 kB / 0.7153 GB, free: 1.406 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006866/0.5223, allocations: 386.5 kB / 0.7156 GB, free: 1.027 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001647/0.524, allocations: 0.8822 MB / 0.7165 GB, free: 144 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002538/0.5265, allocations: 1.999 MB / 0.7185 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.5266, allocations: 0 / 0.7185 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5266, allocations: 0 / 0.7185 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001022/0.5267, allocations: 4 kB / 0.7185 GB, free: 14.13 MB / 0.5606 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.005347/0.532, allocations: 2.037 MB / 0.7204 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.5321, allocations: 12.03 kB / 0.7205 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/0.5334, allocations: 262.5 kB / 0.7207 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001782/0.5352, allocations: 0.9657 MB / 0.7217 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000171/0.5354, allocations: 148.8 kB / 0.7218 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002671/0.5357, allocations: 152 kB / 0.7219 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003234/0.5389, allocations: 1.593 MB / 0.7235 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.48e-05/0.539, allocations: 3.938 kB / 0.7235 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001551/0.5391, allocations: 68 kB / 0.7236 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.94e-05/0.5392, allocations: 40 kB / 0.7236 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002815/0.542, allocations: 1.592 MB / 0.7252 GB, free: 7.105 MB / 0.5606 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.00792/0.5499, allocations: 4.725 MB / 0.7298 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002072/0.552, allocations: 1.091 MB / 0.7308 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000761/0.5528, allocations: 437.1 kB / 0.7313 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.981e-05/0.5529, allocations: 37.02 kB / 0.7313 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00137/0.5543, allocations: 0.7035 MB / 0.732 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=111): time 5.34e-06/0.5543, allocations: 0 / 0.732 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=111): time 0.004318/0.5586, allocations: 1.661 MB / 0.7336 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.5588, allocations: 192.9 kB / 0.7338 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/0.5601, allocations: 0.8414 MB / 0.7346 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001142/0.5602, allocations: 57.69 kB / 0.7347 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005556/0.5608, allocations: 0.6167 MB / 0.7353 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000345/0.5611, allocations: 358.8 kB / 0.7356 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003824/0.5615, allocations: 218.8 kB / 0.7358 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.5617, allocations: 349.9 kB / 0.7361 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007826/0.5625, allocations: 398.4 kB / 0.7365 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009301/0.5634, allocations: 0.5227 MB / 0.737 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001642/0.5651, allocations: 0.8838 MB / 0.7379 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.5651, allocations: 0 / 0.7379 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002787/0.5679, allocations: 1.219 MB / 0.7391 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.5679, allocations: 8 kB / 0.7391 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.5679, allocations: 3.984 kB / 0.7391 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006397/0.5686, allocations: 84.84 kB / 0.7392 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009977/0.5696, allocations: 227.7 kB / 0.7394 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002213/0.5718, allocations: 1.552 MB / 0.7409 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.5729, allocations: 139 kB / 0.741 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/0.5731, allocations: 51.95 kB / 0.7411 GB, free: 6.273 MB / 0.5762 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.0007276/0.5738, allocations: 352.4 kB / 0.7414 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003113/0.5742, allocations: 114.6 kB / 0.7415 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003707/0.5779, allocations: 1.535 MB / 0.743 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.5779, allocations: 12 kB / 0.743 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5779, allocations: 0 / 0.743 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/0.5779, allocations: 7.969 kB / 0.7431 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002021/0.58, allocations: 1.372 MB / 0.7444 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.58, allocations: 0 / 0.7444 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008486/0.5808, allocations: 195.7 kB / 0.7446 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005748/0.5814, allocations: 88.77 kB / 0.7447 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/0.5815, allocations: 31.97 kB / 0.7447 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001984/0.5835, allocations: 1.555 MB / 0.7462 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.5836, allocations: 3.984 kB / 0.7462 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2716/0.8551, allocations: 1.279 MB / 0.7475 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007578/0.8559, allocations: 353.8 kB / 0.7478 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000229/0.8562, allocations: 31.02 kB / 0.7478 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009906/0.8572, allocations: 96.05 kB / 0.7479 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002731/0.8575, allocations: 99.56 kB / 0.748 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/0.8576, allocations: 49.95 kB / 0.7481 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001028/0.8586, allocations: 0.6167 MB / 0.7487 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8586, allocations: 3.188 kB / 0.7487 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001475/0.8601, allocations: 478.3 kB / 0.7491 GB, free: 172.1 MB / 0.5762 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.001481/0.8616, allocations: 0.6236 MB / 0.7497 GB, free: 172 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002423/0.864, allocations: 1.147 MB / 0.7509 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.8641, allocations: 1.75 kB / 0.7509 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001211/0.8653, allocations: 0.6873 MB / 0.7515 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/0.8667, allocations: 316.3 kB / 0.7518 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004162/0.8709, allocations: 3.224 MB / 0.755 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007425/0.8717, allocations: 1.22 MB / 0.7562 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005269/0.8722, allocations: 159.9 kB / 0.7563 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of SimCode: time 7.52e-07/0.8722, allocations: 0 / 0.7563 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.03924/0.9115, allocations: 27.28 MB / 0.783 GB, free: 158.4 MB / 0.5762 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)