Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 111.2 kB / 17.33 MB, free: 5.012 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.001241/0.001241, allocations: 201.8 kB / 18.33 MB, free: 4.016 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.348/1.348, allocations: 225.6 MB / 244.8 MB, free: 13.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.804/0.804, allocations: 128.4 MB / 426.1 MB, free: 7.203 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 72.17 kB / 0.5911 GB, free: 21.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1351, allocations: 83.25 MB / 0.6724 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007071/0.1422, allocations: 5.157 MB / 0.6775 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.4664/0.6087, allocations: 151.1 MB / 0.8251 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007334/0.6094, allocations: 19.22 kB / 0.8251 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005866/0.61, allocations: 204.2 kB / 0.8253 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001713/0.6117, allocations: 0.5692 MB / 0.8258 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001823/0.6135, allocations: 0.8715 MB / 0.8267 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00144/0.615, allocations: 1.439 MB / 0.8281 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006859/0.6156, allocations: 483.2 kB / 0.8286 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006753/0.6163, allocations: 0.5207 MB / 0.8291 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006384/0.617, allocations: 0.5407 MB / 0.8296 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.6171, allocations: 126.8 kB / 0.8297 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00083/0.6179, allocations: 499.8 kB / 0.8302 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002853/0.6182, allocations: 319.5 kB / 0.8305 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005366/0.6187, allocations: 0.5981 MB / 0.8311 GB, free: 2.359 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001971/0.6207, allocations: 1.748 MB / 0.8328 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.6207, allocations: 0 / 0.8328 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.144e-06/0.6207, allocations: 2.5 kB / 0.8328 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.115e-05/0.6207, allocations: 0 / 0.8328 GB, free: 1.098 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.00274/0.6235, allocations: 1.527 MB / 0.8343 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.6235, allocations: 11.41 kB / 0.8343 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.6246, allocations: 218.1 kB / 0.8345 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.6258, allocations: 0.7892 MB / 0.8353 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.253e-05/0.6259, allocations: 76.41 kB / 0.8353 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.626, allocations: 96.8 kB / 0.8354 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/0.6277, allocations: 1.006 MB / 0.8364 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.6278, allocations: 0 / 0.8364 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.6279, allocations: 42.47 kB / 0.8365 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.6279, allocations: 22.94 kB / 0.8365 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001871/0.6297, allocations: 1.172 MB / 0.8376 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00467/0.6344, allocations: 2.961 MB / 0.8405 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002326/0.6367, allocations: 0.9249 MB / 0.8414 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005412/0.6373, allocations: 289.6 kB / 0.8417 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.478e-05/0.6374, allocations: 32.39 kB / 0.8417 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009406/0.6383, allocations: 0.4981 MB / 0.8422 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=82): time 2.205e-06/0.6383, allocations: 0 / 0.8422 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82): time 0.00319/0.6415, allocations: 1.234 MB / 0.8434 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/0.6416, allocations: 188.6 kB / 0.8436 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008497/0.6425, allocations: 0.6505 MB / 0.8442 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.513e-05/0.6426, allocations: 46.83 kB / 0.8443 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003786/0.6429, allocations: 431.9 kB / 0.8447 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002461/0.6432, allocations: 278.5 kB / 0.845 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002519/0.6434, allocations: 165.6 kB / 0.8451 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002019/0.6436, allocations: 384.1 kB / 0.8455 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005436/0.6442, allocations: 276 kB / 0.8457 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006395/0.6448, allocations: 384.8 kB / 0.8461 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.646, allocations: 0.622 MB / 0.8467 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.646, allocations: 0 / 0.8467 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002037/0.648, allocations: 0.8723 MB / 0.8476 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.648, allocations: 10.81 kB / 0.8476 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.648, allocations: 0 / 0.8476 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000583/0.6486, allocations: 84.45 kB / 0.8477 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006743/0.6493, allocations: 175.5 kB / 0.8478 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/0.6515, allocations: 1.618 MB / 0.8494 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007905/0.6523, allocations: 102.6 kB / 0.8495 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.102e-05/0.6523, allocations: 38.72 kB / 0.8495 GB, free: 5.121 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.0004759/0.6528, allocations: 270.5 kB / 0.8498 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/0.653, allocations: 88.5 kB / 0.8499 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002428/0.6554, allocations: 1.104 MB / 0.851 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.6554, allocations: 14.25 kB / 0.851 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.6554, allocations: 0 / 0.851 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.6554, allocations: 7.969 kB / 0.851 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003469/0.6589, allocations: 1.993 MB / 0.8529 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.6589, allocations: 0 / 0.8529 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006631/0.6596, allocations: 159.8 kB / 0.8531 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004336/0.66, allocations: 72.78 kB / 0.8532 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.045e-05/0.6601, allocations: 23.98 kB / 0.8532 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002046/0.6621, allocations: 1.651 MB / 0.8548 GB, free: 484 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6621, allocations: 3.938 kB / 0.8548 GB, free: 480 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002211/0.6643, allocations: 1.034 MB / 0.8558 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004218/0.6647, allocations: 288.1 kB / 0.8561 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.6649, allocations: 16 kB / 0.8561 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000675/0.6655, allocations: 66.56 kB / 0.8562 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.6657, allocations: 80.89 kB / 0.8562 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-05/0.6658, allocations: 31.97 kB / 0.8563 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006132/0.6664, allocations: 471 kB / 0.8567 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6664, allocations: 0 / 0.8567 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009146/0.6673, allocations: 343.1 kB / 0.857 GB, free: 14.14 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001833/0.6691, allocations: 0.6071 MB / 0.8576 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001816/0.671, allocations: 0.8156 MB / 0.8584 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.671, allocations: 4 kB / 0.8584 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009913/0.6719, allocations: 0.5043 MB / 0.8589 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.6732, allocations: 310.8 kB / 0.8592 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00315/0.6763, allocations: 1.743 MB / 0.8609 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007096/0.677, allocations: 1.043 MB / 0.8619 GB, free: 9.23 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008709/0.6779, allocations: 274.8 kB / 0.8622 GB, free: 8.957 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002808/0.6782, allocations: 107.4 kB / 0.8623 GB, free: 8.852 MB / 0.6231 GB Notification: Performance of SimCode: time 6.31e-07/0.6782, allocations: 4 kB / 0.8623 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of Templates: time 0.02838/0.7066, allocations: 15.94 MB / 0.8779 GB, free: 9.082 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 480]