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.001095/0.001095, allocations: 108.3 kB / 16.4 MB, free: 6.434 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.001114/0.001114, allocations: 192.8 kB / 17.34 MB, free: 5.719 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.342/1.342, allocations: 222.9 MB / 241 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.7256/0.7256, allocations: 115.3 MB / 406.5 MB, free: 6.254 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 65.02 kB / 0.5577 GB, free: 32.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.159, allocations: 76.18 MB / 0.6321 GB, free: 4.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.008387/0.1674, allocations: 7.026 MB / 0.6389 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5485/0.7159, allocations: 151.1 MB / 0.7865 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001662/0.7176, allocations: 22.66 kB / 0.7865 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008314/0.7186, allocations: 266.6 kB / 0.7868 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002714/0.7213, allocations: 0.7757 MB / 0.7875 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002356/0.7237, allocations: 1.016 MB / 0.7885 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00259/0.7263, allocations: 2.095 MB / 0.7906 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001526/0.7278, allocations: 1.109 MB / 0.7917 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001384/0.7292, allocations: 0.8289 MB / 0.7925 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001106/0.7303, allocations: 0.8788 MB / 0.7933 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002586/0.7306, allocations: 217.5 kB / 0.7935 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001227/0.7318, allocations: 0.5801 MB / 0.7941 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004834/0.7323, allocations: 493.7 kB / 0.7946 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00101/0.7333, allocations: 0.9672 MB / 0.7955 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002851/0.7362, allocations: 2.664 MB / 0.7981 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.7362, allocations: 0 / 0.7981 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.854e-06/0.7362, allocations: 2.062 kB / 0.7981 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.312e-05/0.7363, allocations: 4 kB / 0.7981 GB, free: 12.43 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.004075/0.7403, allocations: 2.045 MB / 0.8001 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.288e-05/0.7404, allocations: 10.16 kB / 0.8001 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/0.7416, allocations: 260.7 kB / 0.8004 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/0.7431, allocations: 0.9927 MB / 0.8014 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.7432, allocations: 143.9 kB / 0.8015 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.7434, allocations: 155.1 kB / 0.8016 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002558/0.7459, allocations: 1.594 MB / 0.8032 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.321e-05/0.746, allocations: 0 / 0.8032 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001364/0.7461, allocations: 67.2 kB / 0.8033 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.14e-05/0.7462, allocations: 40.12 kB / 0.8033 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002448/0.7486, allocations: 1.595 MB / 0.8049 GB, free: 10.09 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.007433/0.7561, allocations: 4.667 MB / 0.8094 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/0.758, allocations: 1.103 MB / 0.8105 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007004/0.7587, allocations: 436 kB / 0.8109 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.862e-05/0.7588, allocations: 42.69 kB / 0.811 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001185/0.76, allocations: 0.6988 MB / 0.8116 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=111): time 4.799e-06/0.76, allocations: 4 kB / 0.8116 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of matching and sorting (n=111): time 0.004067/0.7641, allocations: 1.652 MB / 0.8133 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.7642, allocations: 201.7 kB / 0.8134 GB, free: 4.504 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.7653, allocations: 0.8378 MB / 0.8143 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.828e-05/0.7654, allocations: 49.73 kB / 0.8143 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005003/0.7659, allocations: 0.6238 MB / 0.8149 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002808/0.7662, allocations: 358.3 kB / 0.8153 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000335/0.7665, allocations: 223.8 kB / 0.8155 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.7667, allocations: 343.9 kB / 0.8158 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007282/0.7674, allocations: 404.5 kB / 0.8162 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008913/0.7683, allocations: 0.5127 MB / 0.8167 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001556/0.7699, allocations: 0.887 MB / 0.8176 GB, free: 1.68 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.7699, allocations: 2.75 kB / 0.8176 GB, free: 1.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002603/0.7725, allocations: 1.211 MB / 0.8187 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.7726, allocations: 5.281 kB / 0.8187 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.7726, allocations: 2.406 kB / 0.8187 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006368/0.7732, allocations: 83.09 kB / 0.8188 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000942/0.7742, allocations: 232.2 kB / 0.819 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002095/0.7763, allocations: 1.649 MB / 0.8207 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.7774, allocations: 137.6 kB / 0.8208 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.673e-05/0.7775, allocations: 49.61 kB / 0.8208 GB, free: 15.23 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.0007279/0.7783, allocations: 345.8 kB / 0.8212 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002252/0.7785, allocations: 117.9 kB / 0.8213 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003252/0.7817, allocations: 1.526 MB / 0.8228 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.7818, allocations: 16.67 kB / 0.8228 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.7818, allocations: 4 kB / 0.8228 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.7818, allocations: 7.984 kB / 0.8228 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/0.7836, allocations: 1.376 MB / 0.8241 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.7836, allocations: 0 / 0.8241 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008091/0.7844, allocations: 195.9 kB / 0.8243 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004653/0.7849, allocations: 77.19 kB / 0.8244 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.527e-05/0.785, allocations: 34.09 kB / 0.8244 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001913/0.7869, allocations: 1.673 MB / 0.8261 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.7869, allocations: 7.281 kB / 0.8261 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002653/0.7896, allocations: 1.274 MB / 0.8273 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000613/0.7902, allocations: 360.6 kB / 0.8277 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/0.7904, allocations: 34.53 kB / 0.8277 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008582/0.7913, allocations: 84.53 kB / 0.8278 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001971/0.7915, allocations: 94.52 kB / 0.8279 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.866e-05/0.7916, allocations: 56.48 kB / 0.8279 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008364/0.7924, allocations: 0.6095 MB / 0.8285 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7924, allocations: 3.938 kB / 0.8285 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00126/0.7937, allocations: 480.1 kB / 0.829 GB, free: 9.711 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.001403/0.7951, allocations: 0.6161 MB / 0.8296 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00227/0.7974, allocations: 1.153 MB / 0.8307 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.7974, allocations: 2.25 kB / 0.8307 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001176/0.7986, allocations: 0.681 MB / 0.8314 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00147/0.8001, allocations: 362.3 kB / 0.8317 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004374/0.8045, allocations: 2.462 MB / 0.8341 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007712/0.8052, allocations: 1.224 MB / 0.8353 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009856/0.8062, allocations: 309.3 kB / 0.8356 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003963/0.8066, allocations: 147.4 kB / 0.8358 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of SimCode: time 2.274e-06/0.8066, allocations: 0 / 0.8358 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of Templates: time 0.0372/0.8439, allocations: 21.29 MB / 0.8565 GB, free: 14.68 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)