Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6941/0.6941, allocations: 128.7 MB / 144.5 MB, free: 1.352 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.001173/0.001173, allocations: 194 kB / 174.3 MB, free: 5.926 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.43/1.43, allocations: 205 MB / 408.9 MB, free: 9.742 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.0009833/0.0009832, allocations: 111.3 kB / 485.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 52.47 kB / 0.558 GB, free: 97.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.141, allocations: 75.46 MB / 0.6317 GB, free: 33.06 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.00584/0.1469, allocations: 4.805 MB / 0.6364 GB, free: 28.22 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4436/0.5905, allocations: 148.2 MB / 0.7811 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006303/0.5912, allocations: 13.28 kB / 0.7811 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004044/0.5916, allocations: 110.9 kB / 0.7812 GB, free: 13.9 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.001095/0.5927, allocations: 434.5 kB / 0.7816 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001472/0.5942, allocations: 0.7819 MB / 0.7824 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001072/0.5953, allocations: 1.371 MB / 0.7837 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001053/0.5964, allocations: 1.011 MB / 0.7847 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006565/0.597, allocations: 0.5904 MB / 0.7853 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006605/0.5977, allocations: 0.6553 MB / 0.7859 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001556/0.5979, allocations: 102.4 kB / 0.786 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007713/0.5986, allocations: 379.5 kB / 0.7864 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002789/0.5989, allocations: 327.7 kB / 0.7867 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0005386/0.5995, allocations: 0.7016 MB / 0.7874 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001707/0.6012, allocations: 2.16 MB / 0.7895 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.6012, allocations: 0 / 0.7895 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of FrontEnd: time 7.52e-07/0.6012, allocations: 0 / 0.7895 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.816e-05/0.6012, allocations: 0 / 0.7895 GB, free: 12.56 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: 361 * Number of variables: 361 Notification: Performance of Generate backend data structure: time 0.002804/0.6041, allocations: 1.739 MB / 0.7912 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.6041, allocations: 8.375 kB / 0.7912 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001926/0.606, allocations: 359.7 kB / 0.7915 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.6073, allocations: 0.8221 MB / 0.7923 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.6074, allocations: 139.7 kB / 0.7925 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/0.6076, allocations: 135.7 kB / 0.7926 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002379/0.61, allocations: 1.438 MB / 0.794 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.61, allocations: 1.156 kB / 0.794 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/0.6101, allocations: 60.75 kB / 0.7941 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.568e-05/0.6102, allocations: 35 kB / 0.7941 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002838/0.613, allocations: 1.537 MB / 0.7956 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005769/0.6188, allocations: 3.734 MB / 0.7992 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002231/0.621, allocations: 0.9771 MB / 0.8002 GB, free: 8.582 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007493/0.6218, allocations: 405.9 kB / 0.8006 GB, free: 8.52 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006263/0.6224, allocations: 485.4 kB / 0.801 GB, free: 8.02 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001176/0.6236, allocations: 0.5843 MB / 0.8016 GB, free: 7.789 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=93): time 3.096e-06/0.6236, allocations: 4 kB / 0.8016 GB, free: 7.785 MB / 0.5261 GB Notification: Performance of matching and sorting (n=93): time 0.003656/0.6273, allocations: 1.45 MB / 0.803 GB, free: 7.375 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.047e-05/0.6274, allocations: 111.3 kB / 0.8031 GB, free: 7.246 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006912/0.6281, allocations: 0.6756 MB / 0.8038 GB, free: 7.016 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.356e-05/0.6282, allocations: 44.39 kB / 0.8038 GB, free: 6.984 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003346/0.6285, allocations: 0.5448 MB / 0.8044 GB, free: 6.641 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002248/0.6287, allocations: 313.7 kB / 0.8047 GB, free: 6.418 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002574/0.629, allocations: 172.8 kB / 0.8048 GB, free: 6.371 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.6291, allocations: 391 kB / 0.8052 GB, free: 6.031 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007127/0.6299, allocations: 346 kB / 0.8055 GB, free: 5.973 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008004/0.6307, allocations: 429.8 kB / 0.8059 GB, free: 5.844 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/0.6322, allocations: 0.7833 MB / 0.8067 GB, free: 5.715 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.6322, allocations: 0 / 0.8067 GB, free: 5.715 MB / 0.5261 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002298/0.6345, allocations: 1.029 MB / 0.8077 GB, free: 5.461 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.6345, allocations: 2.75 kB / 0.8077 GB, free: 5.461 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.6345, allocations: 6.031 kB / 0.8077 GB, free: 5.457 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005571/0.6351, allocations: 84.98 kB / 0.8078 GB, free: 5.422 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008659/0.636, allocations: 197.7 kB / 0.808 GB, free: 5.375 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/0.6379, allocations: 1.54 MB / 0.8095 GB, free: 3.996 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006899/0.6386, allocations: 102.9 kB / 0.8096 GB, free: 3.938 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.792e-05/0.6387, allocations: 38.25 kB / 0.8096 GB, free: 3.93 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (103): * Single equations (assignments): 102 * 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.0004023/0.6391, allocations: 309.7 kB / 0.8099 GB, free: 3.793 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.6393, allocations: 96.64 kB / 0.81 GB, free: 3.742 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00297/0.6422, allocations: 1.318 MB / 0.8113 GB, free: 3.355 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.6423, allocations: 10.12 kB / 0.8113 GB, free: 3.355 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.6423, allocations: 0 / 0.8113 GB, free: 3.355 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.6423, allocations: 3.984 kB / 0.8113 GB, free: 3.352 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003897/0.6462, allocations: 2.466 MB / 0.8137 GB, free: 2.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.6462, allocations: 0 / 0.8137 GB, free: 2.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008013/0.647, allocations: 184.3 kB / 0.8139 GB, free: 2.117 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004788/0.6475, allocations: 93.89 kB / 0.814 GB, free: 2.066 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.391e-05/0.6476, allocations: 22.89 kB / 0.814 GB, free: 2.051 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001672/0.6492, allocations: 1.559 MB / 0.8155 GB, free: 0.5273 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6493, allocations: 2.375 kB / 0.8155 GB, free: 0.5273 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003538/0.6528, allocations: 2.288 MB / 0.8178 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003939/0.6532, allocations: 310.6 kB / 0.8181 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.6533, allocations: 20.28 kB / 0.8181 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000704/0.654, allocations: 73.3 kB / 0.8182 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.6542, allocations: 69.34 kB / 0.8182 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.579e-05/0.6543, allocations: 41.16 kB / 0.8183 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005582/0.6548, allocations: 0.5041 MB / 0.8188 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6548, allocations: 6.594 kB / 0.8188 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001032/0.6559, allocations: 389.1 kB / 0.8191 GB, free: 14.17 MB / 0.5417 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 (103): * Single equations (assignments): 100 * 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.001108/0.657, allocations: 0.5581 MB / 0.8197 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002034/0.659, allocations: 0.9813 MB / 0.8206 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.659, allocations: 0 / 0.8206 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.6601, allocations: 0.602 MB / 0.8212 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.6612, allocations: 238 kB / 0.8215 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004993/0.6662, allocations: 3.413 MB / 0.8248 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000669/0.6668, allocations: 1.168 MB / 0.8259 GB, free: 9.66 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0009556/0.6678, allocations: 282.8 kB / 0.8262 GB, free: 9.512 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003216/0.6681, allocations: 115.3 kB / 0.8263 GB, free: 9.473 MB / 0.5417 GB Notification: Performance of SimCode: time 4.71e-07/0.6681, allocations: 0 / 0.8263 GB, free: 9.473 MB / 0.5417 GB Notification: Performance of Templates: time 0.02247/0.6906, allocations: 15.53 MB / 0.8415 GB, free: 11.04 MB / 0.5573 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)