Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.0008439/0.0008439, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001146/0.001146, allocations: 177 kB / 23.36 MB, free: 1.129 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.8701/0.8701, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.001581/0.001581, allocations: 249.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.665/0.665, allocations: 138.4 MB / 402.2 MB, free: 0.543 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.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 462.3 MB, free: 0.957 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.598e-06/1.087e-05, allocations: 5.859 kB / 462.3 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.004865/0.004876, allocations: 5.676 MB / 468 MB, free: 12.98 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1197/0.1246, allocations: 146.3 MB / 0.5998 GB, free: 10.52 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007029/0.1253, allocations: 23.81 kB / 0.5999 GB, free: 10.49 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004315/0.1257, allocations: 249.6 kB / 0.6001 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001173/0.1269, allocations: 0.6753 MB / 0.6008 GB, free: 9.57 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.1281, allocations: 0.8919 MB / 0.6016 GB, free: 8.676 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0009875/0.1291, allocations: 1.72 MB / 0.6033 GB, free: 6.953 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005486/0.1296, allocations: 0.5978 MB / 0.6039 GB, free: 6.305 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009169/0.1305, allocations: 0.9744 MB / 0.6048 GB, free: 5.328 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00036/0.1309, allocations: 475.3 kB / 0.6053 GB, free: 4.863 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.131, allocations: 144 kB / 0.6054 GB, free: 4.723 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004931/0.1315, allocations: 0.515 MB / 0.6059 GB, free: 4.207 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.000195/0.1317, allocations: 370.7 kB / 0.6063 GB, free: 3.844 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002879/0.132, allocations: 494.8 kB / 0.6068 GB, free: 3.359 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.133, allocations: 1.475 MB / 0.6082 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.133, allocations: 0 / 0.6082 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.153e-06/0.133, allocations: 0 / 0.6082 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.133, allocations: 0 / 0.6082 GB, free: 1.879 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.001303/0.1343, allocations: 1.648 MB / 0.6098 GB, free: 208 kB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 2.722e-05/0.1343, allocations: 8.75 kB / 0.6098 GB, free: 200 kB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007674/0.1351, allocations: 348.2 kB / 0.6101 GB, free: 15.86 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006632/0.1358, allocations: 0.6443 MB / 0.6108 GB, free: 15.18 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.801e-05/0.1358, allocations: 95.22 kB / 0.6109 GB, free: 15.09 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-05/0.1359, allocations: 120 kB / 0.611 GB, free: 14.97 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009974/0.1369, allocations: 1.054 MB / 0.612 GB, free: 13.81 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.1369, allocations: 2.484 kB / 0.612 GB, free: 13.81 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.547e-05/0.137, allocations: 52 kB / 0.6121 GB, free: 13.76 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.137, allocations: 28 kB / 0.6121 GB, free: 13.73 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006589/0.1376, allocations: 0.637 MB / 0.6127 GB, free: 13.08 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002039/0.1397, allocations: 1.988 MB / 0.6147 GB, free: 11.06 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004606/0.1401, allocations: 411.2 kB / 0.615 GB, free: 10.66 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.1403, allocations: 130.8 kB / 0.6152 GB, free: 10.53 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.825e-05/0.1403, allocations: 32.64 kB / 0.6152 GB, free: 10.5 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003135/0.1407, allocations: 455.5 kB / 0.6156 GB, free: 10.01 MB / 0.573 GB Notification: Performance of pre-optimization done (n=87): time 2.725e-06/0.1407, allocations: 4 kB / 0.6156 GB, free: 10.01 MB / 0.573 GB Notification: Performance of matching and sorting (n=87): time 0.001035/0.1417, allocations: 0.5732 MB / 0.6162 GB, free: 9.426 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.1417, allocations: 192.9 kB / 0.6164 GB, free: 9.195 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003527/0.1421, allocations: 0.5562 MB / 0.6169 GB, free: 8.629 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.279e-05/0.1421, allocations: 41.7 kB / 0.617 GB, free: 8.582 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.1423, allocations: 470.6 kB / 0.6174 GB, free: 8.113 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/0.1425, allocations: 293.4 kB / 0.6177 GB, free: 7.824 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.1427, allocations: 166.5 kB / 0.6179 GB, free: 7.656 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0003294/0.143, allocations: 398.6 kB / 0.6182 GB, free: 7.258 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.1431, allocations: 101.3 kB / 0.6183 GB, free: 7.156 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.1433, allocations: 307.6 kB / 0.6186 GB, free: 6.812 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003098/0.1436, allocations: 320.7 kB / 0.6189 GB, free: 6.488 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1436, allocations: 4.875 kB / 0.6189 GB, free: 6.484 MB / 0.573 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0006528/0.1443, allocations: 462.8 kB / 0.6194 GB, free: 6.023 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.1443, allocations: 8 kB / 0.6194 GB, free: 6.016 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1443, allocations: 8.078 kB / 0.6194 GB, free: 6.008 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003619/0.1447, allocations: 120.7 kB / 0.6195 GB, free: 5.887 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003337/0.145, allocations: 163.7 kB / 0.6197 GB, free: 5.727 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00092/0.1459, allocations: 1.316 MB / 0.6209 GB, free: 4.328 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002527/0.1462, allocations: 73.03 kB / 0.621 GB, free: 4.258 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.841e-05/0.1462, allocations: 27.97 kB / 0.621 GB, free: 4.23 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 (104): * Single equations (assignments): 103 * 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.0001803/0.1464, allocations: 170.4 kB / 0.6212 GB, free: 4.055 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.716e-05/0.1465, allocations: 79.92 kB / 0.6213 GB, free: 3.977 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008343/0.1473, allocations: 0.6398 MB / 0.6219 GB, free: 3.332 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.1473, allocations: 8 kB / 0.6219 GB, free: 3.324 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.1473, allocations: 0 / 0.6219 GB, free: 3.324 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.1473, allocations: 11.91 kB / 0.6219 GB, free: 3.312 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005718/0.1479, allocations: 0.4994 MB / 0.6224 GB, free: 2.797 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1479, allocations: 0 / 0.6224 GB, free: 2.797 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003065/0.1482, allocations: 139.8 kB / 0.6225 GB, free: 2.66 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002984/0.1485, allocations: 112.8 kB / 0.6227 GB, free: 2.547 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-05/0.1486, allocations: 23.92 kB / 0.6227 GB, free: 2.523 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000763/0.1493, allocations: 1.328 MB / 0.624 GB, free: 1.105 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1493, allocations: 0 / 0.624 GB, free: 1.105 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005724/0.1499, allocations: 0.5089 MB / 0.6245 GB, free: 0.5742 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001957/0.1501, allocations: 151.7 kB / 0.6246 GB, free: 436 kB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.769e-05/0.1502, allocations: 23.98 kB / 0.6246 GB, free: 412 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.1504, allocations: 37.69 kB / 0.6247 GB, free: 376 kB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.429e-05/0.1504, allocations: 68.86 kB / 0.6247 GB, free: 308 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.625e-05/0.1505, allocations: 31.92 kB / 0.6248 GB, free: 276 kB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004329/0.1509, allocations: 279.5 kB / 0.625 GB, free: 15.99 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.1509, allocations: 0 / 0.625 GB, free: 15.99 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004836/0.1514, allocations: 398.8 kB / 0.6254 GB, free: 15.6 MB / 0.5886 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * 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.001544/0.1529, allocations: 0.743 MB / 0.6261 GB, free: 15.22 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0008278/0.1538, allocations: 0.5128 MB / 0.6266 GB, free: 14.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/0.1538, allocations: 11.94 kB / 0.6267 GB, free: 14.68 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0004367/0.1542, allocations: 367 kB / 0.627 GB, free: 14.31 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005361/0.1547, allocations: 327.4 kB / 0.6273 GB, free: 14.03 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.1567, allocations: 1.807 MB / 0.6291 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.1568, allocations: 215.2 kB / 0.6293 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003612/0.1572, allocations: 208.7 kB / 0.6295 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004789/0.1576, allocations: 315 kB / 0.6298 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of SimCode: time 3.81e-07/0.1576, allocations: 0 / 0.6298 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of Templates: time 0.01807/0.1757, allocations: 17.12 MB / 0.6465 GB, free: 10.7 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.833063448779285]