Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6948/0.6948, allocations: 128.7 MB / 144.5 MB, free: 1.371 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001144/0.001144, allocations: 190 kB / 174.3 MB, free: 5.918 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 205 MB / 408.9 MB, free: 9.715 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001074/0.001075, allocations: 98.28 kB / 485.1 MB, free: 13.56 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001052/0.001052, allocations: 51.48 kB / 0.558 GB, free: 97.6 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1353, allocations: 75.48 MB / 0.6317 GB, free: 33.02 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.00592/0.1413, allocations: 5.848 MB / 0.6374 GB, free: 27.13 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.472/0.6133, allocations: 148.7 MB / 0.7826 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008469/0.6142, allocations: 17.03 kB / 0.7826 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.000559/0.6147, allocations: 146.5 kB / 0.7828 GB, free: 13.8 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.001273/0.6161, allocations: 473.4 kB / 0.7832 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001911/0.618, allocations: 1.076 MB / 0.7843 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002006/0.62, allocations: 2.118 MB / 0.7863 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001553/0.6216, allocations: 1.262 MB / 0.7876 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001375/0.623, allocations: 0.8707 MB / 0.7884 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/0.624, allocations: 1.044 MB / 0.7894 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0002491/0.6243, allocations: 138.9 kB / 0.7896 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009469/0.6253, allocations: 420.2 kB / 0.79 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0004131/0.6257, allocations: 476.6 kB / 0.7904 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0008681/0.6266, allocations: 0.976 MB / 0.7914 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002632/0.6292, allocations: 3.068 MB / 0.7944 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.6292, allocations: 1.219 kB / 0.7944 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.785e-06/0.6292, allocations: 7.984 kB / 0.7944 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.854e-05/0.6293, allocations: 0 / 0.7944 GB, free: 11.55 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.005136/0.6344, allocations: 2.464 MB / 0.7968 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.6345, allocations: 14.09 kB / 0.7968 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01515/0.6496, allocations: 2.121 MB / 0.7989 GB, free: 9.184 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002862/0.6525, allocations: 1.107 MB / 0.7999 GB, free: 8.566 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001925/0.6528, allocations: 156.7 kB / 0.8001 GB, free: 8.559 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003672/0.6531, allocations: 198 kB / 0.8003 GB, free: 8.559 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008143/0.6613, allocations: 3.045 MB / 0.8033 GB, free: 7.566 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.223e-05/0.6613, allocations: 0 / 0.8033 GB, free: 7.566 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002197/0.6616, allocations: 89.28 kB / 0.8033 GB, free: 7.562 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-05/0.6616, allocations: 50.62 kB / 0.8034 GB, free: 7.562 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01134/0.673, allocations: 4.021 MB / 0.8073 GB, free: 6.559 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01355/0.6865, allocations: 6.537 MB / 0.8137 GB, free: 3.445 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008842/0.6954, allocations: 2.807 MB / 0.8164 GB, free: 2.055 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004039/0.6995, allocations: 1.41 MB / 0.8178 GB, free: 1.332 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007133/0.7002, allocations: 0.5091 MB / 0.8183 GB, free: 0.8047 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004536/0.7048, allocations: 1.668 MB / 0.8199 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=192): time 3.587e-06/0.7048, allocations: 0 / 0.8199 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=192): time 0.01341/0.7182, allocations: 4.088 MB / 0.8239 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.866e-05/0.7183, allocations: 132.5 kB / 0.8241 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.7195, allocations: 0.7569 MB / 0.8248 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001717/0.7196, allocations: 57.7 kB / 0.8249 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005695/0.7202, allocations: 0.6589 MB / 0.8255 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005424/0.7208, allocations: 0.6174 MB / 0.8261 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007384/0.7215, allocations: 343.2 kB / 0.8264 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.356e-05/0.7216, allocations: 301.1 kB / 0.8267 GB, free: 11 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00397/0.7256, allocations: 1.144 MB / 0.8278 GB, free: 9.859 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004169/0.7298, allocations: 1.298 MB / 0.8291 GB, free: 8.535 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008156/0.738, allocations: 2.403 MB / 0.8314 GB, free: 6.113 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.219e-05/0.738, allocations: 8.734 kB / 0.8315 GB, free: 6.105 MB / 0.5417 GB Notification: Performance of matching and sorting (n=206) (initialization): time 0.009482/0.7475, allocations: 2.841 MB / 0.8342 GB, free: 3.254 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.7475, allocations: 4 kB / 0.8342 GB, free: 3.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.7475, allocations: 4 kB / 0.8342 GB, free: 3.246 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005789/0.7481, allocations: 80.91 kB / 0.8343 GB, free: 3.164 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003326/0.7515, allocations: 0.5538 MB / 0.8349 GB, free: 2.609 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001986/0.7535, allocations: 1.52 MB / 0.8363 GB, free: 0.9531 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002683/0.7561, allocations: 310.3 kB / 0.8366 GB, free: 0.6484 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002476/0.7564, allocations: 91.89 kB / 0.8367 GB, free: 0.5586 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim1.tStart,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 203 * 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.0009594/0.7574, allocations: 387.5 kB / 0.8371 GB, free: 176 kB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004928/0.7579, allocations: 130.4 kB / 0.8372 GB, free: 44 kB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01121/0.7691, allocations: 3.38 MB / 0.8405 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.36e-05/0.7692, allocations: 20 kB / 0.8405 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.7692, allocations: 3.938 kB / 0.8405 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.142e-05/0.7692, allocations: 7.969 kB / 0.8405 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01388/0.7831, allocations: 5.559 MB / 0.846 GB, free: 7.051 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.7831, allocations: 4.859 kB / 0.846 GB, free: 7.047 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003235/0.7864, allocations: 0.5305 MB / 0.8465 GB, free: 6.516 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005297/0.7869, allocations: 92.64 kB / 0.8466 GB, free: 6.422 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002252/0.7872, allocations: 67.92 kB / 0.8467 GB, free: 6.355 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001831/0.789, allocations: 1.536 MB / 0.8482 GB, free: 4.684 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.789, allocations: 0 / 0.8482 GB, free: 4.684 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01455/0.8036, allocations: 5.228 MB / 0.8533 GB, free: 15.39 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/0.8046, allocations: 0.4908 MB / 0.8537 GB, free: 14.88 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000374/0.805, allocations: 43.84 kB / 0.8538 GB, free: 14.84 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002649/0.8077, allocations: 231.7 kB / 0.854 GB, free: 14.61 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002755/0.808, allocations: 125.8 kB / 0.8541 GB, free: 14.49 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002202/0.8082, allocations: 75.92 kB / 0.8542 GB, free: 14.42 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0009444/0.8092, allocations: 0.5698 MB / 0.8547 GB, free: 13.84 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8092, allocations: 0 / 0.8547 GB, free: 13.84 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001838/0.811, allocations: 0.5645 MB / 0.8553 GB, free: 13.27 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: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 199 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001496/0.8125, allocations: 0.5979 MB / 0.8559 GB, free: 12.86 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.009286/0.8218, allocations: 2.878 MB / 0.8587 GB, free: 9.961 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.8219, allocations: 0 / 0.8587 GB, free: 9.961 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.004785/0.8267, allocations: 1.615 MB / 0.8603 GB, free: 8.34 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001809/0.8285, allocations: 281.7 kB / 0.8605 GB, free: 8.066 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/0.8402, allocations: 5.599 MB / 0.866 GB, free: 2.426 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00141/0.8417, allocations: 1.393 MB / 0.8674 GB, free: 0.9922 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.003756/0.8454, allocations: 0.5261 MB / 0.8679 GB, free: 472 kB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001156/0.8466, allocations: 203.2 kB / 0.8681 GB, free: 268 kB / 0.573 GB Notification: Performance of SimCode: time 1.062e-06/0.8466, allocations: 3.938 kB / 0.8681 GB, free: 264 kB / 0.573 GB Notification: Performance of Templates: time 0.04434/0.891, allocations: 25.37 MB / 0.8929 GB, free: 6.988 MB / 0.6042 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)