Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.868/0.868, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001582/0.001582, allocations: 241.8 kB / 260.5 MB, free: 12.7 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7131/0.7131, allocations: 138.4 MB / 402.2 MB, free: 0.5547 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 462.3 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.92e-05/2.055e-05, allocations: 4.422 kB / 462.3 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006885/0.006906, allocations: 4.918 MB / 467.2 MB, free: 13.64 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1214/0.1283, allocations: 146 MB / 0.5989 GB, free: 11.45 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006932/0.129, allocations: 23.81 kB / 0.5989 GB, free: 11.43 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0006713/0.1296, allocations: 206 kB / 0.5991 GB, free: 11.22 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001246/0.1309, allocations: 0.6118 MB / 0.5997 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.1321, allocations: 0.867 MB / 0.6005 GB, free: 9.742 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0008791/0.1329, allocations: 1.505 MB / 0.602 GB, free: 8.234 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004676/0.1334, allocations: 461.2 kB / 0.6025 GB, free: 7.758 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006043/0.134, allocations: 0.8108 MB / 0.6033 GB, free: 6.945 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003304/0.1343, allocations: 406.7 kB / 0.6036 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.1344, allocations: 120 kB / 0.6038 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004555/0.1349, allocations: 495.4 kB / 0.6042 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001749/0.1351, allocations: 310.9 kB / 0.6045 GB, free: 5.641 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002461/0.1353, allocations: 402.9 kB / 0.6049 GB, free: 5.246 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.1365, allocations: 1.296 MB / 0.6062 GB, free: 3.945 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1365, allocations: 0 / 0.6062 GB, free: 3.945 MB / 0.5573 GB Notification: Performance of FrontEnd: time 8.72e-07/0.1365, allocations: 0 / 0.6062 GB, free: 3.945 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.894e-06/0.1365, allocations: 0 / 0.6062 GB, free: 3.945 MB / 0.5573 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.001254/0.1377, allocations: 1.423 MB / 0.6076 GB, free: 2.5 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 2.771e-05/0.1377, allocations: 16.69 kB / 0.6076 GB, free: 2.484 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008602/0.1386, allocations: 348.1 kB / 0.6079 GB, free: 2.145 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006172/0.1392, allocations: 0.5862 MB / 0.6085 GB, free: 1.531 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.892e-05/0.1393, allocations: 74.12 kB / 0.6086 GB, free: 1.457 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.866e-05/0.1393, allocations: 96 kB / 0.6086 GB, free: 1.363 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000663/0.14, allocations: 0.9296 MB / 0.6096 GB, free: 360 kB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.14, allocations: 0.625 kB / 0.6096 GB, free: 360 kB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.991e-05/0.1401, allocations: 36 kB / 0.6096 GB, free: 324 kB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.1401, allocations: 24 kB / 0.6096 GB, free: 300 kB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005744/0.1407, allocations: 0.5948 MB / 0.6102 GB, free: 15.69 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/0.1423, allocations: 1.61 MB / 0.6118 GB, free: 14.06 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006755/0.143, allocations: 438 kB / 0.6122 GB, free: 13.63 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.1432, allocations: 128.7 kB / 0.6123 GB, free: 13.51 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.438e-05/0.1432, allocations: 36.56 kB / 0.6123 GB, free: 13.47 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003135/0.1435, allocations: 449.8 kB / 0.6128 GB, free: 12.99 MB / 0.573 GB Notification: Performance of pre-optimization done (n=82): time 2.024e-06/0.1435, allocations: 0 / 0.6128 GB, free: 12.99 MB / 0.573 GB Notification: Performance of matching and sorting (n=82): time 0.001157/0.1447, allocations: 0.5453 MB / 0.6133 GB, free: 12.44 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.1447, allocations: 188.6 kB / 0.6135 GB, free: 12.21 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003096/0.145, allocations: 0.4977 MB / 0.614 GB, free: 11.7 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.466e-05/0.1451, allocations: 45.7 kB / 0.614 GB, free: 11.65 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.1452, allocations: 358.2 kB / 0.6144 GB, free: 11.29 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.1454, allocations: 273.6 kB / 0.6146 GB, free: 11.02 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.1455, allocations: 166.4 kB / 0.6148 GB, free: 10.86 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.551e-05/0.1456, allocations: 390.5 kB / 0.6151 GB, free: 10.46 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.1457, allocations: 88.78 kB / 0.6152 GB, free: 10.38 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001887/0.1459, allocations: 311.6 kB / 0.6155 GB, free: 10.03 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003018/0.1462, allocations: 311.4 kB / 0.6158 GB, free: 9.715 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1462, allocations: 0 / 0.6158 GB, free: 9.715 MB / 0.573 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0005679/0.1468, allocations: 439 kB / 0.6162 GB, free: 9.273 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.1468, allocations: 4 kB / 0.6162 GB, free: 9.27 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1468, allocations: 4 kB / 0.6162 GB, free: 9.266 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003717/0.1472, allocations: 121.4 kB / 0.6164 GB, free: 9.145 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003235/0.1475, allocations: 156.5 kB / 0.6165 GB, free: 8.992 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008559/0.1483, allocations: 1.306 MB / 0.6178 GB, free: 7.598 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.1486, allocations: 74.11 kB / 0.6179 GB, free: 7.527 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.691e-05/0.1486, allocations: 23.97 kB / 0.6179 GB, free: 7.504 MB / 0.573 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.conTimMin.canRepeatWeatherFile,weaDat.conTim.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.000173/0.1488, allocations: 181.2 kB / 0.6181 GB, free: 7.32 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.181e-05/0.1489, allocations: 67.94 kB / 0.6181 GB, free: 7.254 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000776/0.1496, allocations: 0.6208 MB / 0.6187 GB, free: 6.625 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.1496, allocations: 12.84 kB / 0.6187 GB, free: 6.613 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.1496, allocations: 0 / 0.6187 GB, free: 6.613 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.1497, allocations: 3.984 kB / 0.6187 GB, free: 6.609 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.1509, allocations: 0.9822 MB / 0.6197 GB, free: 5.602 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1509, allocations: 0 / 0.6197 GB, free: 5.602 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002876/0.1512, allocations: 139.8 kB / 0.6198 GB, free: 5.465 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005203/0.1517, allocations: 107.6 kB / 0.6199 GB, free: 5.359 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.382e-05/0.1517, allocations: 27.97 kB / 0.62 GB, free: 5.332 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007631/0.1525, allocations: 1.324 MB / 0.6213 GB, free: 3.922 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1525, allocations: 7.984 kB / 0.6213 GB, free: 3.914 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005716/0.1531, allocations: 0.5525 MB / 0.6218 GB, free: 3.344 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001844/0.1532, allocations: 147.2 kB / 0.6219 GB, free: 3.199 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.377e-05/0.1533, allocations: 16 kB / 0.622 GB, free: 3.184 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.1535, allocations: 43.59 kB / 0.622 GB, free: 3.145 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.802e-05/0.1536, allocations: 72.8 kB / 0.6221 GB, free: 3.07 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.58e-05/0.1536, allocations: 23.97 kB / 0.6221 GB, free: 3.047 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.000175/0.1538, allocations: 247.4 kB / 0.6223 GB, free: 2.805 MB / 0.573 GB Notification: Performance of sort global known variables: time 8e-08/0.1538, allocations: 0 / 0.6223 GB, free: 2.805 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.000444/0.1543, allocations: 354.9 kB / 0.6227 GB, free: 2.457 MB / 0.573 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.001296/0.1555, allocations: 0.7531 MB / 0.6234 GB, free: 2.066 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0005314/0.1561, allocations: 0.4971 MB / 0.6239 GB, free: 1.559 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.1561, allocations: 8.188 kB / 0.6239 GB, free: 1.551 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002981/0.1564, allocations: 367 kB / 0.6242 GB, free: 1.18 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005545/0.1569, allocations: 327.8 kB / 0.6246 GB, free: 0.8984 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.1587, allocations: 1.551 MB / 0.6261 GB, free: 15.31 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.1588, allocations: 202.5 kB / 0.6263 GB, free: 15.09 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.000356/0.1592, allocations: 191 kB / 0.6264 GB, free: 14.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004763/0.1596, allocations: 303 kB / 0.6267 GB, free: 14.6 MB / 0.5886 GB Notification: Performance of SimCode: time 5.71e-07/0.1596, allocations: 0 / 0.6267 GB, free: 14.6 MB / 0.5886 GB Notification: Performance of Templates: time 0.02212/0.1818, allocations: 16.7 MB / 0.643 GB, free: 14.29 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9002845347858965]