Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6936/0.6936, allocations: 128.7 MB / 144.5 MB, free: 1.379 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.001102/0.001102, allocations: 196.4 kB / 174.2 MB, free: 5.922 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.437/1.437, allocations: 205 MB / 408.9 MB, free: 9.723 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.0009509/0.0009511, allocations: 95.19 kB / 485.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009947/0.0009948, allocations: 56.2 kB / 0.558 GB, free: 97.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1207, allocations: 75.47 MB / 0.6317 GB, free: 33.03 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.004683/0.1254, allocations: 4.322 MB / 0.6359 GB, free: 28.68 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4616/0.587, allocations: 148 MB / 0.7804 GB, free: 14 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001089/0.5882, allocations: 13.78 kB / 0.7804 GB, free: 14 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005386/0.5887, allocations: 103.3 kB / 0.7805 GB, free: 13.95 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.001481/0.5903, allocations: 363.5 kB / 0.7809 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.00204/0.5924, allocations: 0.6806 MB / 0.7815 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001168/0.5935, allocations: 1.132 MB / 0.7826 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009536/0.5945, allocations: 0.8093 MB / 0.7834 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006017/0.5951, allocations: 473.5 kB / 0.7839 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005545/0.5957, allocations: 0.5176 MB / 0.7844 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.5958, allocations: 76.78 kB / 0.7845 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007241/0.5965, allocations: 361.9 kB / 0.7848 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002182/0.5968, allocations: 257.2 kB / 0.785 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0004267/0.5972, allocations: 0.5569 MB / 0.7856 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.5986, allocations: 1.663 MB / 0.7872 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.5986, allocations: 3.938 kB / 0.7872 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of FrontEnd: time 8.32e-07/0.5986, allocations: 0 / 0.7872 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.598e-05/0.5986, allocations: 4 kB / 0.7872 GB, free: 12.86 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.002299/0.6009, allocations: 1.493 MB / 0.7887 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.601, allocations: 9.656 kB / 0.7887 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001939/0.6029, allocations: 329 kB / 0.789 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.604, allocations: 0.7247 MB / 0.7897 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.535e-05/0.6041, allocations: 80.44 kB / 0.7898 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.6043, allocations: 110.1 kB / 0.7899 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001995/0.6063, allocations: 1.13 MB / 0.791 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.6063, allocations: 1.188 kB / 0.791 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.446e-05/0.6064, allocations: 45.75 kB / 0.791 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.995e-05/0.6065, allocations: 26.84 kB / 0.7911 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002508/0.609, allocations: 1.293 MB / 0.7923 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004596/0.6136, allocations: 2.945 MB / 0.7952 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001978/0.6156, allocations: 0.8647 MB / 0.7961 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007527/0.6163, allocations: 333.5 kB / 0.7964 GB, free: 9.809 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006543/0.617, allocations: 471.9 kB / 0.7968 GB, free: 9.312 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001043/0.6181, allocations: 499 kB / 0.7973 GB, free: 9.105 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=78): time 2.866e-06/0.6181, allocations: 0.5 kB / 0.7973 GB, free: 9.105 MB / 0.5261 GB Notification: Performance of matching and sorting (n=78): time 0.003871/0.622, allocations: 1.213 MB / 0.7985 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.036e-05/0.622, allocations: 112.8 kB / 0.7986 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007595/0.6228, allocations: 0.602 MB / 0.7992 GB, free: 8.383 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.385e-05/0.6229, allocations: 44.67 kB / 0.7992 GB, free: 8.348 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002686/0.6231, allocations: 456.9 kB / 0.7997 GB, free: 8.07 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/0.6233, allocations: 256.7 kB / 0.7999 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/0.6236, allocations: 145.5 kB / 0.8 GB, free: 7.844 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.6237, allocations: 380.6 kB / 0.8004 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006344/0.6244, allocations: 266.8 kB / 0.8007 GB, free: 7.461 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006729/0.6251, allocations: 349.9 kB / 0.801 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/0.6264, allocations: 0.6221 MB / 0.8016 GB, free: 7.234 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.6264, allocations: 2.156 kB / 0.8016 GB, free: 7.234 MB / 0.5261 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002074/0.6285, allocations: 0.8382 MB / 0.8024 GB, free: 7.016 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.6285, allocations: 4.844 kB / 0.8024 GB, free: 7.016 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.6285, allocations: 2.188 kB / 0.8024 GB, free: 7.016 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005805/0.6291, allocations: 82.89 kB / 0.8025 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007474/0.6299, allocations: 161.5 kB / 0.8027 GB, free: 6.945 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0019/0.6318, allocations: 1.519 MB / 0.8041 GB, free: 5.566 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006583/0.6324, allocations: 81.55 kB / 0.8042 GB, free: 5.523 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.023e-05/0.6325, allocations: 34.86 kB / 0.8043 GB, free: 5.516 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (84): * Single equations (assignments): 83 * 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.0004013/0.6329, allocations: 268.7 kB / 0.8045 GB, free: 5.379 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.6331, allocations: 87.38 kB / 0.8046 GB, free: 5.332 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002824/0.6359, allocations: 1.045 MB / 0.8056 GB, free: 5.027 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.6359, allocations: 14.06 kB / 0.8056 GB, free: 5.023 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.6359, allocations: 112 / 0.8056 GB, free: 5.023 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.6359, allocations: 7.922 kB / 0.8056 GB, free: 5.016 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/0.6375, allocations: 0.9301 MB / 0.8065 GB, free: 4.598 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.6375, allocations: 3.938 kB / 0.8065 GB, free: 4.594 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007588/0.6383, allocations: 161.5 kB / 0.8067 GB, free: 4.555 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005172/0.6388, allocations: 86.11 kB / 0.8068 GB, free: 4.52 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.658e-05/0.6389, allocations: 21.39 kB / 0.8068 GB, free: 4.516 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001736/0.6407, allocations: 1.535 MB / 0.8083 GB, free: 3.148 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.6407, allocations: 0 / 0.8083 GB, free: 3.148 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003431/0.6441, allocations: 1.948 MB / 0.8102 GB, free: 2.215 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004274/0.6445, allocations: 265.4 kB / 0.8105 GB, free: 2.027 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.302e-05/0.6447, allocations: 22.94 kB / 0.8105 GB, free: 2.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005786/0.6452, allocations: 64.94 kB / 0.8105 GB, free: 1.996 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.6454, allocations: 52.48 kB / 0.8106 GB, free: 1.977 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.616e-05/0.6455, allocations: 35.5 kB / 0.8106 GB, free: 1.969 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005487/0.646, allocations: 436 kB / 0.811 GB, free: 1.816 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.21e-07/0.646, allocations: 0 / 0.811 GB, free: 1.816 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009912/0.647, allocations: 321.9 kB / 0.8113 GB, free: 1.746 MB / 0.5261 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.conTim1.tStart,weaDat.conTim.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * 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.001281/0.6483, allocations: 0.5779 MB / 0.8119 GB, free: 1.496 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002094/0.6504, allocations: 0.8123 MB / 0.8127 GB, free: 1.254 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.6504, allocations: 0 / 0.8127 GB, free: 1.254 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.6515, allocations: 0.5243 MB / 0.8132 GB, free: 1.051 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.6526, allocations: 218.6 kB / 0.8134 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004728/0.6574, allocations: 2.82 MB / 0.8162 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006206/0.658, allocations: 1.069 MB / 0.8172 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001109/0.6591, allocations: 248.7 kB / 0.8175 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003068/0.6594, allocations: 101.6 kB / 0.8176 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of SimCode: time 1.212e-06/0.6594, allocations: 0 / 0.8176 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of Templates: time 0.02298/0.6824, allocations: 12.82 MB / 0.8301 GB, free: 5.789 MB / 0.5417 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)