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.0008603/0.0008603, allocations: 93.59 kB / 16.66 MB, free: 5.859 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.001335/0.001335, allocations: 176.7 kB / 17.57 MB, free: 5.543 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.379/1.379, allocations: 223.3 MB / 241.6 MB, free: 14.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.7238/0.7238, allocations: 115.5 MB / 408.2 MB, free: 7.086 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000372/0.0003721, allocations: 8 kB / 496.5 MB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4387/0.4391, allocations: 77.52 MB / 0.5606 GB, free: 35.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006478/0.4457, allocations: 6.51 MB / 0.5669 GB, free: 31.03 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1655/0.6113, allocations: 147.2 MB / 0.7107 GB, free: 9.289 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002086/0.6134, allocations: 19.94 kB / 0.7107 GB, free: 9.27 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00125/0.6147, allocations: 202.4 kB / 0.7109 GB, free: 9.07 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003614/0.6183, allocations: 0.6671 MB / 0.7116 GB, free: 8.406 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003043/0.6214, allocations: 0.8821 MB / 0.7125 GB, free: 7.535 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003315/0.6247, allocations: 1.952 MB / 0.7144 GB, free: 5.57 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002135/0.6268, allocations: 1.043 MB / 0.7154 GB, free: 4.473 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001313/0.6282, allocations: 0.5403 MB / 0.7159 GB, free: 3.93 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001258/0.6294, allocations: 0.6137 MB / 0.7165 GB, free: 3.312 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000379/0.6298, allocations: 36 kB / 0.7165 GB, free: 3.277 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.6312, allocations: 379.7 kB / 0.7169 GB, free: 2.906 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004802/0.6317, allocations: 270.5 kB / 0.7172 GB, free: 2.641 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001261/0.633, allocations: 0.7472 MB / 0.7179 GB, free: 1.883 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002766/0.6357, allocations: 1.952 MB / 0.7198 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.6358, allocations: 4 kB / 0.7198 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6358, allocations: 0 / 0.7198 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.293e-05/0.6358, allocations: 0 / 0.7198 GB, free: 15.92 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.00388/0.6397, allocations: 1.69 MB / 0.7215 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.6398, allocations: 12.03 kB / 0.7215 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.6409, allocations: 266.6 kB / 0.7217 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.6425, allocations: 0.9772 MB / 0.7227 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/0.6426, allocations: 144.8 kB / 0.7228 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001992/0.6428, allocations: 156 kB / 0.723 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002853/0.6457, allocations: 1.596 MB / 0.7245 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.6457, allocations: 0 / 0.7245 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001482/0.6459, allocations: 64 kB / 0.7246 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.343e-05/0.646, allocations: 40 kB / 0.7246 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00268/0.6486, allocations: 1.6 MB / 0.7262 GB, free: 9.223 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.007727/0.6564, allocations: 4.777 MB / 0.7308 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002002/0.6584, allocations: 1.106 MB / 0.7319 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007621/0.6592, allocations: 435.7 kB / 0.7323 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/0.6593, allocations: 41.08 kB / 0.7324 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001284/0.6606, allocations: 0.7124 MB / 0.7331 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=111): time 3.196e-06/0.6606, allocations: 0 / 0.7331 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of matching and sorting (n=111): time 0.004078/0.6647, allocations: 1.668 MB / 0.7347 GB, free: 256 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.6649, allocations: 204.8 kB / 0.7349 GB, free: 8 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/0.6661, allocations: 0.8375 MB / 0.7357 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001555/0.6663, allocations: 49.7 kB / 0.7358 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005633/0.6669, allocations: 0.6206 MB / 0.7364 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003152/0.6672, allocations: 362.8 kB / 0.7367 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.6673, allocations: 93.66 kB / 0.7368 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.6675, allocations: 345.9 kB / 0.7371 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007821/0.6683, allocations: 406.4 kB / 0.7375 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008577/0.6691, allocations: 0.5111 MB / 0.738 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001587/0.6707, allocations: 0.8994 MB / 0.7389 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.6707, allocations: 0 / 0.7389 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002826/0.6736, allocations: 1.219 MB / 0.7401 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.431e-05/0.6736, allocations: 4 kB / 0.7401 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.6736, allocations: 3.984 kB / 0.7401 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006908/0.6743, allocations: 84.84 kB / 0.7402 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.6754, allocations: 235.6 kB / 0.7404 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002371/0.6778, allocations: 1.543 MB / 0.7419 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/0.6791, allocations: 156.4 kB / 0.7421 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000156/0.6793, allocations: 51.95 kB / 0.7421 GB, free: 8.402 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.000942/0.6802, allocations: 360.2 kB / 0.7425 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003692/0.6806, allocations: 110.6 kB / 0.7426 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003753/0.6844, allocations: 1.551 MB / 0.7441 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.6844, allocations: 12 kB / 0.7441 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.6844, allocations: 0 / 0.7441 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/0.6844, allocations: 3.984 kB / 0.7441 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002302/0.6867, allocations: 1.368 MB / 0.7454 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.666e-05/0.6868, allocations: 7.984 kB / 0.7454 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008664/0.6877, allocations: 199.7 kB / 0.7456 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005677/0.6882, allocations: 84.77 kB / 0.7457 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00011/0.6884, allocations: 35.97 kB / 0.7457 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002021/0.6904, allocations: 1.552 MB / 0.7473 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6904, allocations: 4.078 kB / 0.7473 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002965/0.6934, allocations: 1.296 MB / 0.7485 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009083/0.6943, allocations: 387 kB / 0.7489 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002959/0.6946, allocations: 24 kB / 0.7489 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.6957, allocations: 123.4 kB / 0.749 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002404/0.696, allocations: 101.1 kB / 0.7491 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/0.6961, allocations: 47.97 kB / 0.7492 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001155/0.6973, allocations: 0.6174 MB / 0.7498 GB, free: 280 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6973, allocations: 0 / 0.7498 GB, free: 280 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.3225/1.02, allocations: 475.9 kB / 0.7502 GB, free: 171.8 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.001881/1.022, allocations: 0.6166 MB / 0.7508 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003105/1.025, allocations: 1.16 MB / 0.752 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/1.025, allocations: 0.9688 kB / 0.752 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001395/1.026, allocations: 0.6882 MB / 0.7526 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/1.028, allocations: 312.5 kB / 0.7529 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005219/1.033, allocations: 3.251 MB / 0.7561 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008725/1.034, allocations: 1.224 MB / 0.7573 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006478/1.035, allocations: 156.1 kB / 0.7575 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of SimCode: time 9.22e-07/1.035, allocations: 0.5 kB / 0.7575 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.05014/1.085, allocations: 27.1 MB / 0.7839 GB, free: 158.8 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)