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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 111 kB / 17.33 MB, free: 5.043 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: 201.9 kB / 18.33 MB, free: 4.055 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.373/1.373, allocations: 225.6 MB / 244.8 MB, free: 13.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8122/0.8122, allocations: 128.4 MB / 426.1 MB, free: 7.242 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 66.77 kB / 0.5911 GB, free: 21.37 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1405, allocations: 83.25 MB / 0.6724 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.009112/0.1496, allocations: 7.087 MB / 0.6794 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.472/0.6217, allocations: 151.6 MB / 0.8274 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/0.6227, allocations: 23.47 kB / 0.8275 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009188/0.6236, allocations: 266.1 kB / 0.8277 GB, free: 4.086 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00253/0.6262, allocations: 0.7892 MB / 0.8285 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002365/0.6285, allocations: 1.034 MB / 0.8295 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002384/0.6309, allocations: 2.091 MB / 0.8315 GB, free: 1.652 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.6321, allocations: 0.772 MB / 0.8323 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.6331, allocations: 0.8273 MB / 0.8331 GB, free: 0.5703 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.6342, allocations: 0.8856 MB / 0.834 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002092/0.6344, allocations: 218.8 kB / 0.8342 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000937/0.6353, allocations: 0.5767 MB / 0.8347 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004268/0.6357, allocations: 492.4 kB / 0.8352 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008422/0.6366, allocations: 0.9679 MB / 0.8361 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002854/0.6394, allocations: 2.674 MB / 0.8388 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.6394, allocations: 2.312 kB / 0.8388 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6394, allocations: 4 kB / 0.8388 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.137e-05/0.6395, allocations: 0 / 0.8388 GB, free: 12.66 MB / 0.6075 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.003828/0.6433, allocations: 2.096 MB / 0.8408 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.6433, allocations: 7.906 kB / 0.8408 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.6444, allocations: 271.6 kB / 0.8411 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/0.6459, allocations: 1.001 MB / 0.8421 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/0.646, allocations: 146.5 kB / 0.8422 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001755/0.6462, allocations: 151.2 kB / 0.8423 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002647/0.6489, allocations: 1.59 MB / 0.8439 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.124e-05/0.6489, allocations: 0 / 0.8439 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001406/0.649, allocations: 67.75 kB / 0.844 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.62e-05/0.6491, allocations: 41.88 kB / 0.844 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002481/0.6515, allocations: 1.596 MB / 0.8456 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00708/0.6586, allocations: 4.993 MB / 0.8504 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001837/0.6605, allocations: 1.021 MB / 0.8514 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006895/0.6612, allocations: 405 kB / 0.8518 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.484e-05/0.6612, allocations: 42.77 kB / 0.8519 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001191/0.6624, allocations: 0.6915 MB / 0.8525 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=111): time 2.435e-06/0.6624, allocations: 4 kB / 0.8525 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of matching and sorting (n=111): time 0.004063/0.6665, allocations: 1.668 MB / 0.8542 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/0.6666, allocations: 192.9 kB / 0.8543 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.6679, allocations: 0.8454 MB / 0.8552 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001131/0.668, allocations: 45.7 kB / 0.8552 GB, free: 480 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000618/0.6686, allocations: 0.6415 MB / 0.8558 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003598/0.669, allocations: 372.9 kB / 0.8562 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003657/0.6694, allocations: 222.8 kB / 0.8564 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.6695, allocations: 349.9 kB / 0.8567 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007887/0.6703, allocations: 406.4 kB / 0.8571 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009381/0.6713, allocations: 0.5072 MB / 0.8576 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001664/0.6729, allocations: 0.8877 MB / 0.8585 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.6729, allocations: 0 / 0.8585 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002773/0.6757, allocations: 1.216 MB / 0.8597 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.6757, allocations: 4 kB / 0.8597 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.6757, allocations: 7.562 kB / 0.8597 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005933/0.6763, allocations: 80.84 kB / 0.8598 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009934/0.6773, allocations: 227.7 kB / 0.86 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002298/0.6796, allocations: 1.662 MB / 0.8616 GB, free: 9.719 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.6807, allocations: 131.2 kB / 0.8617 GB, free: 9.59 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.6808, allocations: 55.89 kB / 0.8618 GB, free: 9.535 MB / 0.6231 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.0006955/0.6815, allocations: 352.4 kB / 0.8621 GB, free: 9.18 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002704/0.6818, allocations: 123.2 kB / 0.8622 GB, free: 9.059 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00339/0.6852, allocations: 1.527 MB / 0.8637 GB, free: 7.516 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/0.6852, allocations: 19.98 kB / 0.8637 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.6852, allocations: 4 kB / 0.8638 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.6852, allocations: 3.984 kB / 0.8638 GB, free: 7.488 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00183/0.687, allocations: 1.373 MB / 0.8651 GB, free: 6.066 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/0.687, allocations: 0 / 0.8651 GB, free: 6.066 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008644/0.6879, allocations: 199.7 kB / 0.8653 GB, free: 5.871 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004542/0.6884, allocations: 76.77 kB / 0.8654 GB, free: 5.793 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.471e-05/0.6885, allocations: 35.97 kB / 0.8654 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/0.6905, allocations: 1.67 MB / 0.867 GB, free: 3.945 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.6905, allocations: 3.938 kB / 0.867 GB, free: 3.941 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002766/0.6933, allocations: 1.282 MB / 0.8683 GB, free: 2.637 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000585/0.6939, allocations: 371.8 kB / 0.8686 GB, free: 2.254 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001979/0.6941, allocations: 36.02 kB / 0.8687 GB, free: 2.219 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008764/0.695, allocations: 86.72 kB / 0.8688 GB, free: 2.137 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002042/0.6952, allocations: 97.17 kB / 0.8688 GB, free: 2.043 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/0.6953, allocations: 51.95 kB / 0.8689 GB, free: 1.992 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008915/0.6962, allocations: 0.6135 MB / 0.8695 GB, free: 1.367 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.6962, allocations: 0 / 0.8695 GB, free: 1.367 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00118/0.6974, allocations: 490.6 kB / 0.87 GB, free: 0.8867 MB / 0.6231 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.001922/0.6993, allocations: 0.61 MB / 0.8706 GB, free: 460 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002357/0.7016, allocations: 1.107 MB / 0.8716 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.7016, allocations: 0 / 0.8716 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001243/0.7029, allocations: 0.635 MB / 0.8723 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/0.7043, allocations: 351.2 kB / 0.8726 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004459/0.7087, allocations: 2.51 MB / 0.875 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009424/0.7097, allocations: 1.228 MB / 0.8762 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001067/0.7107, allocations: 313.3 kB / 0.8765 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004089/0.7111, allocations: 147.4 kB / 0.8767 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of SimCode: time 1.343e-06/0.7111, allocations: 0 / 0.8767 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of Templates: time 0.03755/0.7487, allocations: 21.21 MB / 0.8974 GB, free: 5.078 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile [Timeout 660] (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) [Timeout 480]