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.001727/0.001727, allocations: 104.9 kB / 16.4 MB, free: 6.461 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.001803/0.001803, allocations: 193.2 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.412/1.412, 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.7914/0.7914, allocations: 115.3 MB / 406.5 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 72.84 kB / 0.5577 GB, free: 32.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.146, allocations: 76.18 MB / 0.632 GB, free: 4.555 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.007918/0.1539, allocations: 7.026 MB / 0.6389 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5811/0.7351, allocations: 151.2 MB / 0.7865 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.7363, allocations: 18.62 kB / 0.7865 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007256/0.7371, allocations: 267.7 kB / 0.7868 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002198/0.7393, allocations: 0.7752 MB / 0.7875 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00218/0.7415, allocations: 1.022 MB / 0.7885 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002237/0.7437, allocations: 2.087 MB / 0.7906 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001503/0.7452, allocations: 1.107 MB / 0.7917 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.7464, allocations: 0.8309 MB / 0.7925 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008994/0.7473, allocations: 0.8795 MB / 0.7933 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002568/0.7476, allocations: 219.1 kB / 0.7935 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.7487, allocations: 0.5777 MB / 0.7941 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003726/0.7491, allocations: 493.2 kB / 0.7946 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000851/0.75, allocations: 0.9753 MB / 0.7955 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003071/0.7531, allocations: 2.658 MB / 0.7981 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.7531, allocations: 4 kB / 0.7981 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.814e-06/0.7531, allocations: 0 / 0.7981 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.98e-05/0.7531, allocations: 0 / 0.7981 GB, free: 12.42 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.004036/0.7572, allocations: 2.051 MB / 0.8001 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.7572, allocations: 13.78 kB / 0.8001 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/0.7584, allocations: 252.9 kB / 0.8004 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/0.7601, allocations: 0.9962 MB / 0.8014 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/0.7602, allocations: 144.4 kB / 0.8015 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/0.7604, allocations: 153.8 kB / 0.8016 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002502/0.7629, allocations: 1.586 MB / 0.8032 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.4e-05/0.7629, allocations: 4 kB / 0.8032 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/0.7631, allocations: 67.28 kB / 0.8033 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.924e-05/0.7631, allocations: 36.81 kB / 0.8033 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002523/0.7657, allocations: 1.596 MB / 0.8049 GB, free: 10.08 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.007202/0.7729, allocations: 4.674 MB / 0.8094 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001906/0.7748, allocations: 1.102 MB / 0.8105 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006987/0.7755, allocations: 436.7 kB / 0.8109 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.329e-05/0.7756, allocations: 43.75 kB / 0.811 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001178/0.7768, allocations: 0.703 MB / 0.8116 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=111): time 3.296e-06/0.7768, allocations: 0 / 0.8116 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of matching and sorting (n=111): time 0.004196/0.781, allocations: 1.658 MB / 0.8133 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/0.7812, allocations: 197 kB / 0.8134 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.7824, allocations: 0.8379 MB / 0.8143 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001129/0.7825, allocations: 49.89 kB / 0.8143 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006079/0.7832, allocations: 0.6235 MB / 0.8149 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002999/0.7835, allocations: 354.7 kB / 0.8153 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000321/0.7838, allocations: 223.6 kB / 0.8155 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.7839, allocations: 348.1 kB / 0.8158 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007334/0.7847, allocations: 403.8 kB / 0.8162 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008234/0.7855, allocations: 0.5071 MB / 0.8167 GB, free: 2.145 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001499/0.787, allocations: 0.8869 MB / 0.8176 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.787, allocations: 0.875 kB / 0.8176 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002787/0.7898, allocations: 1.209 MB / 0.8187 GB, free: 1.039 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.7899, allocations: 4.906 kB / 0.8187 GB, free: 1.039 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.7899, allocations: 6.438 kB / 0.8187 GB, free: 1.035 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006399/0.7905, allocations: 81.64 kB / 0.8188 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009469/0.7915, allocations: 237 kB / 0.819 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002134/0.7936, allocations: 1.642 MB / 0.8207 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.7948, allocations: 135.8 kB / 0.8208 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.7949, allocations: 52.95 kB / 0.8208 GB, free: 15.21 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.0007661/0.7957, allocations: 353.4 kB / 0.8212 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002498/0.7959, allocations: 114.7 kB / 0.8213 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003146/0.7991, allocations: 1.524 MB / 0.8228 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.7991, allocations: 20.19 kB / 0.8228 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.7991, allocations: 3.938 kB / 0.8228 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.478e-05/0.7992, allocations: 7.969 kB / 0.8228 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001737/0.8009, allocations: 1.373 MB / 0.8241 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.8009, allocations: 0 / 0.8241 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007911/0.8017, allocations: 194.2 kB / 0.8243 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004542/0.8022, allocations: 78.78 kB / 0.8244 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.994e-05/0.8023, allocations: 40.28 kB / 0.8244 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001904/0.8042, allocations: 1.666 MB / 0.8261 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.8042, allocations: 3.938 kB / 0.8261 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002548/0.8068, allocations: 1.278 MB / 0.8273 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005809/0.8074, allocations: 365.9 kB / 0.8277 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001781/0.8075, allocations: 37.94 kB / 0.8277 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008704/0.8084, allocations: 81.47 kB / 0.8278 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002126/0.8086, allocations: 94.52 kB / 0.8279 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.42e-05/0.8087, allocations: 56.48 kB / 0.8279 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007794/0.8095, allocations: 0.6115 MB / 0.8285 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8095, allocations: 0 / 0.8285 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001145/0.8107, allocations: 484.4 kB / 0.829 GB, free: 9.684 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.001332/0.812, allocations: 0.6096 MB / 0.8296 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002189/0.8142, allocations: 1.155 MB / 0.8307 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.8142, allocations: 4.25 kB / 0.8307 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.8154, allocations: 0.6803 MB / 0.8314 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/0.8168, allocations: 357 kB / 0.8317 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004189/0.821, allocations: 2.463 MB / 0.8341 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007877/0.8219, allocations: 1.22 MB / 0.8353 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001021/0.8229, allocations: 321.3 kB / 0.8356 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004097/0.8233, allocations: 143.4 kB / 0.8358 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of SimCode: time 6.81e-07/0.8233, allocations: 0 / 0.8358 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of Templates: time 0.03455/0.8579, allocations: 20.86 MB / 0.8561 GB, free: 15.08 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)