Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7116/0.7116, allocations: 128.6 MB / 143.8 MB, free: 2.176 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.0009714/0.0009714, allocations: 180.4 kB / 173.7 MB, free: 6.23 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.512/1.512, allocations: 205 MB / 408.3 MB, free: 10.71 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.0007774/0.0007774, allocations: 90.34 kB / 485.3 MB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004463/0.0004465, allocations: 8.906 kB / 0.5587 GB, free: 98.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1606, allocations: 76.14 MB / 0.633 GB, free: 32.93 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005462/0.1661, allocations: 4.797 MB / 0.6377 GB, free: 28.1 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.5427/0.7088, allocations: 148.2 MB / 0.7825 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.7099, allocations: 10.66 kB / 0.7825 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.00055/0.7105, allocations: 108.7 kB / 0.7826 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.001673/0.7122, allocations: 454.4 kB / 0.783 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002/0.7142, allocations: 0.7473 MB / 0.7838 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001543/0.7158, allocations: 1.383 MB / 0.7851 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.717, allocations: 0.9223 MB / 0.786 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001056/0.718, allocations: 0.5914 MB / 0.7866 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008064/0.7189, allocations: 0.6693 MB / 0.7872 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001616/0.719, allocations: 93.41 kB / 0.7873 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000905/0.7199, allocations: 377.4 kB / 0.7877 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0003083/0.7203, allocations: 324 kB / 0.788 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0007095/0.721, allocations: 0.6752 MB / 0.7887 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002124/0.7231, allocations: 1.976 MB / 0.7906 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.7231, allocations: 1.156 kB / 0.7906 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.325e-06/0.7231, allocations: 0 / 0.7906 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.392e-05/0.7232, allocations: 0 / 0.7906 GB, free: 12.96 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: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.003083/0.7263, allocations: 1.702 MB / 0.7922 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.7263, allocations: 12.97 kB / 0.7923 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002057/0.7284, allocations: 354 kB / 0.7926 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/0.7296, allocations: 0.8042 MB / 0.7934 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.7297, allocations: 101.6 kB / 0.7935 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002285/0.73, allocations: 132.2 kB / 0.7936 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002771/0.7327, allocations: 1.399 MB / 0.795 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.999e-05/0.7328, allocations: 2.297 kB / 0.795 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.7329, allocations: 56.22 kB / 0.795 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.209e-05/0.733, allocations: 33.66 kB / 0.7951 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002984/0.7359, allocations: 1.545 MB / 0.7966 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006405/0.7424, allocations: 3.543 MB / 0.8 GB, free: 9.363 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00247/0.7449, allocations: 1.036 MB / 0.801 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/0.7459, allocations: 439.8 kB / 0.8015 GB, free: 9.105 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006764/0.7466, allocations: 489.4 kB / 0.8019 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001341/0.7479, allocations: 0.6239 MB / 0.8025 GB, free: 8.363 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=104): time 2.494e-06/0.748, allocations: 0 / 0.8025 GB, free: 8.363 MB / 0.5261 GB Notification: Performance of matching and sorting (n=104): time 0.003969/0.7519, allocations: 1.545 MB / 0.804 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.605e-05/0.752, allocations: 114.7 kB / 0.8041 GB, free: 7.809 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009812/0.753, allocations: 0.6764 MB / 0.8048 GB, free: 7.57 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.262e-05/0.7531, allocations: 45.45 kB / 0.8049 GB, free: 7.539 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004169/0.7535, allocations: 0.5152 MB / 0.8054 GB, free: 7.215 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002724/0.7538, allocations: 348.9 kB / 0.8057 GB, free: 6.965 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003065/0.7541, allocations: 199.9 kB / 0.8059 GB, free: 6.91 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.7543, allocations: 393 kB / 0.8063 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007548/0.7551, allocations: 368.8 kB / 0.8066 GB, free: 6.508 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008803/0.756, allocations: 470.3 kB / 0.8071 GB, free: 6.375 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001691/0.7577, allocations: 0.8447 MB / 0.8079 GB, free: 6.254 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.7577, allocations: 3.938 kB / 0.8079 GB, free: 6.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002679/0.7604, allocations: 1.105 MB / 0.809 GB, free: 5.996 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/0.7604, allocations: 6 kB / 0.809 GB, free: 5.996 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.7604, allocations: 1.906 kB / 0.809 GB, free: 5.996 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005595/0.761, allocations: 89.27 kB / 0.8091 GB, free: 5.961 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.762, allocations: 223.3 kB / 0.8093 GB, free: 5.906 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001901/0.764, allocations: 1.523 MB / 0.8108 GB, free: 4.535 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009582/0.7649, allocations: 115.6 kB / 0.8109 GB, free: 4.469 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.118e-05/0.765, allocations: 43.56 kB / 0.8109 GB, free: 4.461 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 (117): * Single equations (assignments): 116 * 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.0007161/0.7658, allocations: 304.5 kB / 0.8112 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002045/0.766, allocations: 91.91 kB / 0.8113 GB, free: 4.273 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003268/0.7692, allocations: 1.405 MB / 0.8127 GB, free: 3.867 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/0.7693, allocations: 22.83 kB / 0.8127 GB, free: 3.855 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.7693, allocations: 7.875 kB / 0.8127 GB, free: 3.848 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.7693, allocations: 6.891 kB / 0.8127 GB, free: 3.844 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004802/0.7741, allocations: 2.525 MB / 0.8152 GB, free: 2.953 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.7741, allocations: 0 / 0.8152 GB, free: 2.953 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/0.7754, allocations: 199.8 kB / 0.8153 GB, free: 2.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005136/0.7759, allocations: 88.45 kB / 0.8154 GB, free: 2.875 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.801e-05/0.776, allocations: 26.7 kB / 0.8155 GB, free: 2.871 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001926/0.7779, allocations: 1.555 MB / 0.817 GB, free: 1.496 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.7779, allocations: 3.938 kB / 0.817 GB, free: 1.492 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002866/0.7808, allocations: 1.195 MB / 0.8181 GB, free: 1.137 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005144/0.7813, allocations: 312.2 kB / 0.8184 GB, free: 0.9297 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/0.7815, allocations: 31.53 kB / 0.8185 GB, free: 0.918 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007089/0.7822, allocations: 65.09 kB / 0.8185 GB, free: 0.8984 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/0.7824, allocations: 72.67 kB / 0.8186 GB, free: 0.8711 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-05/0.7825, allocations: 36.2 kB / 0.8186 GB, free: 0.8672 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007062/0.7832, allocations: 0.5153 MB / 0.8191 GB, free: 0.6953 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7832, allocations: 0 / 0.8191 GB, free: 0.6953 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001118/0.7843, allocations: 390.2 kB / 0.8195 GB, free: 0.6094 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.conTim.tStart,weaDat.conTim1.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 108 * 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.001236/0.7856, allocations: 0.5826 MB / 0.8201 GB, free: 360 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002218/0.7878, allocations: 1.042 MB / 0.8211 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.7878, allocations: 0 / 0.8211 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001148/0.789, allocations: 0.6293 MB / 0.8217 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.7901, allocations: 239.8 kB / 0.8219 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005024/0.7951, allocations: 2.883 MB / 0.8248 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007826/0.7959, allocations: 1.137 MB / 0.8259 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001158/0.7971, allocations: 279 kB / 0.8261 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003831/0.7975, allocations: 128.1 kB / 0.8263 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of SimCode: time 1.102e-06/0.7975, allocations: 3.938 kB / 0.8263 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of Templates: time 0.02745/0.8249, allocations: 15.44 MB / 0.8413 GB, free: 15.46 MB / 0.5573 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)