Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 95.88 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001277, allocations: 175.9 kB / 16.57 MB, free: 6.855 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.341/1.341, allocations: 223.2 MB / 240.5 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6864/0.6864, allocations: 113.8 MB / 405.4 MB, free: 4.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000459/0.000459, allocations: 8 kB / 493 MB, free: 8.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2063, allocations: 77.15 MB / 0.5568 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005537/0.2119, allocations: 3.967 MB / 0.5607 GB, free: 7.613 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.6021/0.8141, allocations: 127.7 MB / 0.6854 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008319/0.815, allocations: 23.88 kB / 0.6854 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004358/0.8154, allocations: 87.19 kB / 0.6855 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00157/0.817, allocations: 0.5069 MB / 0.686 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001875/0.8189, allocations: 0.652 MB / 0.6866 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00144/0.8203, allocations: 0.8878 MB / 0.6875 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009307/0.8213, allocations: 0.6848 MB / 0.6881 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005799/0.8219, allocations: 390.2 kB / 0.6885 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004637/0.8223, allocations: 393.7 kB / 0.6889 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.99e-05/0.8224, allocations: 28 kB / 0.6889 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007911/0.8232, allocations: 315.6 kB / 0.6892 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000222/0.8235, allocations: 203.1 kB / 0.6894 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002011/0.8237, allocations: 233 kB / 0.6896 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001362/0.825, allocations: 1.417 MB / 0.691 GB, free: 400 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.825, allocations: 0 / 0.691 GB, free: 400 kB / 0.4981 GB Notification: Performance of FrontEnd: time 2.033e-06/0.8251, allocations: 0 / 0.691 GB, free: 400 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.766e-05/0.8251, allocations: 0 / 0.691 GB, free: 400 kB / 0.4981 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.002577/0.8277, allocations: 1.439 MB / 0.6924 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.8277, allocations: 12.03 kB / 0.6924 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009628/0.8287, allocations: 234.8 kB / 0.6927 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.83, allocations: 0.8131 MB / 0.6935 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-05/0.8301, allocations: 90.41 kB / 0.6935 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.8302, allocations: 120 kB / 0.6937 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/0.8322, allocations: 1.182 MB / 0.6948 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/0.8323, allocations: 3.938 kB / 0.6948 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.8324, allocations: 52 kB / 0.6949 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.502e-05/0.8324, allocations: 31.94 kB / 0.6949 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002011/0.8344, allocations: 1.289 MB / 0.6961 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005199/0.8396, allocations: 3.192 MB / 0.6993 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/0.8412, allocations: 0.8627 MB / 0.7001 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.99e-05/0.8413, allocations: 32.61 kB / 0.7001 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009192/0.8422, allocations: 0.5081 MB / 0.7006 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=87): time 2.665e-06/0.8423, allocations: 0 / 0.7006 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=87): time 0.003173/0.8454, allocations: 1.292 MB / 0.7019 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.8456, allocations: 196.9 kB / 0.7021 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009627/0.8465, allocations: 0.7236 MB / 0.7028 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.379e-05/0.8466, allocations: 45.7 kB / 0.7028 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000455/0.8471, allocations: 0.5153 MB / 0.7033 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002387/0.8473, allocations: 283.9 kB / 0.7036 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.8474, allocations: 16 kB / 0.7036 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.8475, allocations: 338 kB / 0.7039 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005008/0.848, allocations: 273.8 kB / 0.7042 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006036/0.8486, allocations: 386.5 kB / 0.7046 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005713/0.8492, allocations: 318.9 kB / 0.7049 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.8492, allocations: 0 / 0.7049 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001858/0.8511, allocations: 0.872 MB / 0.7057 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.8511, allocations: 8 kB / 0.7057 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.8511, allocations: 0 / 0.7057 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005678/0.8517, allocations: 84.86 kB / 0.7058 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006852/0.8524, allocations: 167.8 kB / 0.706 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002028/0.8545, allocations: 1.532 MB / 0.7075 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007247/0.8552, allocations: 107.2 kB / 0.7076 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.356e-05/0.8553, allocations: 32.05 kB / 0.7076 GB, free: 14.85 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005647/0.8558, allocations: 294.6 kB / 0.7079 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.856, allocations: 90.88 kB / 0.708 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002417/0.8584, allocations: 1.141 MB / 0.7091 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.8584, allocations: 12 kB / 0.7091 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.8584, allocations: 3.938 kB / 0.7091 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.8585, allocations: 11.97 kB / 0.7091 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.8599, allocations: 1.059 MB / 0.7102 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.8599, allocations: 3.953 kB / 0.7102 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006162/0.8605, allocations: 151.8 kB / 0.7103 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004876/0.861, allocations: 92.7 kB / 0.7104 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-05/0.8611, allocations: 23.98 kB / 0.7104 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001714/0.8628, allocations: 1.56 MB / 0.7119 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.8628, allocations: 8.016 kB / 0.7119 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001886/0.8647, allocations: 0.9824 MB / 0.7129 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004689/0.8652, allocations: 299.5 kB / 0.7132 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.8653, allocations: 27.98 kB / 0.7132 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006352/0.866, allocations: 76.75 kB / 0.7133 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.8661, allocations: 72.89 kB / 0.7134 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.351e-05/0.8662, allocations: 39.97 kB / 0.7134 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007042/0.8669, allocations: 0.5146 MB / 0.7139 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8669, allocations: 3.938 kB / 0.7139 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009667/0.8679, allocations: 354.8 kB / 0.7142 GB, free: 7.805 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001362/0.8693, allocations: 0.6012 MB / 0.7148 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00177/0.8711, allocations: 0.847 MB / 0.7157 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.8711, allocations: 4 kB / 0.7157 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009676/0.8721, allocations: 0.5393 MB / 0.7162 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.8732, allocations: 257.2 kB / 0.7164 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004908/0.8781, allocations: 2.599 MB / 0.719 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007672/0.8789, allocations: 1.137 MB / 0.7201 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009678/0.8799, allocations: 279.4 kB / 0.7203 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002687/0.8802, allocations: 111.4 kB / 0.7205 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of SimCode: time 1.372e-06/0.8802, allocations: 0 / 0.7205 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of Templates: time 0.02612/0.9063, allocations: 14.38 MB / 0.7345 GB, free: 3.348 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)